cURL
curl --request PATCH \ --url https://apigcp.trynia.ai/v2/sources/{source_id}/classification \ --header 'Content-Type: application/json' \ --data ' { "categories": [ "<string>" ], "include_uncategorized": true } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Source type hint
repository
documentation
research_paper
huggingface_dataset
local_folder
Request to classify local folder content.
Categories to classify content into (2-10 categories)
2 - 10
Whether to include an 'Uncategorized' bucket for edge cases
Successful Response
Was this page helpful?