Models
Batch Associate Datasets With Model
Associate multiple datasets with a model in a single request.
POST
Batch Associate Datasets With Model
Authorizations
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Headers
Path Parameters
Model ID
Example:
"model_abc123"
Body
application/json
Schema for associating multiple datasets with a model in a single request.
List of datasets to associate with the model (max 50 per request)
Required array length:
1 - 50 elementsExample:
[
{
"datasetId": "550e8400-e29b-41d4-a716-446655440001",
"priority": 0,
"usageType": "rag"
}
]Response
Successful Response
Response for batch dataset association creation.
Batch Associate Datasets With Model