Docs / Search API
Search all projects
Leave out the project to search every project at once.
Endpoint
1POST /grape/search1curl -X POST https://grape-inc.in/grape/search \2 -H "Authorization: Bearer $GRAPE_KEY" \3 -d '{"query": "How many hearts does an octopus have?"}'
Extra fields
| Field | Side | Description |
|---|---|---|
| projects | request | Project IDs or names to search instead of all of them. |
| project | response | On each hit: the ID of the project it came from. |
Coverage is comparable across projects, so the hits are ranked together.