cURL
curl --request GET \ --url https://apigcp.trynia.ai/v2/contexts/search \ --header 'Authorization: Bearer <token>'
{ "search_query": "<string>", "contexts": [ {} ], "total_results": 0 }
Search contexts by content, title, summary, or tags using MongoDB text search.
API key must be provided in the Authorization header
Search query
1
Number of contexts to return
1 <= x <= 100
Comma-separated tags to filter by
Filter by agent source
Successful Response
Response for text search in contexts.
The search query used
Matching contexts
Total number of results
Was this page helpful?
Suggestions
Contact support