List all datasets associated with a model.
cURL
curl --request GET \ --url https://api.cuadra.ai/v1/models/{model_id}/datasets \ --header 'Authorization: Bearer <token>'
{ "items": [ { "createdAt": "2025-10-18T06:33:19Z", "datasetId": "550e8400-e29b-41d4-a716-446655440001", "modelId": "550e8400-e29b-41d4-a716-446655440000", "priority": 0, "updatedAt": "2025-10-18T06:33:19Z", "usageType": "rag" } ], "hasMore": true, "nextCursor": "<string>", "totalCount": 123 }
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Model ID
"model_abc123"
1 <= x <= 100
Opaque cursor
Successful Response
Paginated response for model-dataset associations.
List of model-dataset associations in this page
Show child attributes
Whether there are more results available
Cursor for the next page of results
Total count of associations (if available)
Was this page helpful?