cURL
curl --request POST \ --url https://api.kontext.dev/trpc/datasets.listByUser \ --header 'x-api-key: <x-api-key>'
List dataset IDs connected to a user (tRPC)
X-As-User
{ "input": { userId } }
userId
{ "result": { "data": { "datasetIds": ["ds_1", "ds_2", "..."] } } }
curl -X POST https://api.kontext.dev/trpc/datasets.listByUser \ -H "x-api-key: ktext_abc123..." \ -H "content-type: application/json" \ -d '{ "input": { "userId": "user_abc123" } }'
datasets.query
datasets.search
Was this page helpful?