Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.sharc.sh/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": {} } '
{ "indexed": 123, "collection": "<string>" }
Stores chunks, embeddings, and metadata for a collection.
Pass your key in Authorization: Bearer .
1
Show child attributes
Indexing accepted