Docs / Search API

Search all projects

Leave out the project to search every project at once.

Endpoint

1POST /grape/search
.cURL
1curl -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

FieldSideDescription
projectsrequestProject IDs or names to search instead of all of them.
projectresponseOn each hit: the ID of the project it came from.

Coverage is comparable across projects, so the hits are ranked together.