cURL
curl --request POST \ --url https://app.octavehq.com/api/v2/resource/search \ --header 'Content-Type: application/json' \ --header 'api_key: <api-key>' \ --data ' { "query": "pricing strategies for enterprise customers", "limit": 10 } '
{ "_metadata": { "requestId": "requestId", "timestamp": "2021-01-01T00:00:00.000Z", "usage": 0, "message": "message" }, "data": [ { "oId": "<string>", "name": "<string>", "url": "<string>", "content": "<string>", "score": 123 } ], "total": 123 }
Search across global resources using semantic search. Returns resources ranked by relevance to the query.
Search query for semantic search across resources
1
"pricing strategies for enterprise customers"
Maximum number of results to return (default: 10)
10
Search results
Show child attributes