curl --request POST \
--url https://apigcp.trynia.ai/v2/sources/{source_id}/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://apigcp.trynia.ai/v2/sources/{source_id}/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API key must be provided in the Authorization header
Source type hint
repository, documentation, research_paper, huggingface_dataset, local_folder, slack, google_drive The body is of type Body · object.
Successful Response
Was this page helpful?