curl --request POST \
--url https://api.sharc.dev/v1/index \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"collection": "<string>",
"chunks": [
{
"content": "<string>",
"relativePath": "<string>",
"startLine": 123,
"endLine": 123,
"metadata": {}
}
],
"metadata": {}
}
'