Models
Update Model-Dataset Association
Update a model-dataset association.
PATCH
Update Model-Dataset Association
Authorizations
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Headers
Path Parameters
Model ID
Example:
"model_abc123"
Dataset ID
Example:
"dataset_abc123"
Body
application/json
Schema for updating a model-dataset association.
Response
Successful Response
Schema for model-dataset association response.
ID of the model
Example:
"550e8400-e29b-41d4-a716-446655440000"
ID of the associated dataset
Example:
"550e8400-e29b-41d4-a716-446655440001"
How the dataset is used
Example:
"rag"
Priority for this dataset
Examples:
0
1
10
When the association was created
Example:
"2025-10-18T06:33:19Z"
When the association was last updated
Example:
"2025-10-18T06:33:19Z"
Specific dataset snapshot ID (null = use latest, value = pinned)
Update Model-Dataset Association