cURL
curl --request POST \ --url https://app.promptingco.com/api/v1/content/search/{orgId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "query": "<string>" } '
{ "ok": true, "data": { "ids": [ [ "<string>" ] ], "distances": [ [ 123 ] ], "metadatas": [ [ {} ] ], "embeddings": "<unknown>", "documents": [ [ "<string>" ] ], "uris": [ [ "<string>" ] ], "data": "<unknown>", "included": [ "<string>" ] } }
Organization-scoped API key. Available scopes:
1
Successful response
true
Show child attributes