Skip to content
grepvine.aiJoin preview

List API keys

GET
/api-keys
Code sample: Shell / cURL
curl --request GET \
--url 'https://api.grepvine.ai/v1/api-keys?amount=50' \
--cookie __Host-grepvine-session=<__Host-grepvine-session>
amount
integer
default: 50 >= 1 <= 200
page
string
<= 4096 characters

A page of API keys.

Media typeapplication/json
object
results
required
Array<object>
object
id
required
string format: uuid
name
required
string
prefix
required
string
created_at
required
string format: date-time
last_used_at
string format: date-time
revoked_at
string format: date-time
pagination
required

A page may hold fewer results than the requested amount, possibly none, while has_next is true; a query page stops at the server’s soft time budget and next_page_id resumes exactly after the last candidate it examined. Clients continue while has_next is true.

object
next_page_id
required
string
has_next
required
boolean

Example generated

{
"results": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"prefix": "example",
"created_at": "2026-04-15T12:00:00Z",
"last_used_at": "2026-04-15T12:00:00Z",
"revoked_at": "2026-04-15T12:00:00Z"
}
],
"pagination": {
"next_page_id": "example",
"has_next": true
}
}

The request failed. A 429 carries Retry-After; the index is busy absorbing recent writes or is out of request capacity, and clients must slow down and retry after the interval. A 403 with code organization_suspended refuses every operation on a suspended organization’s members, indexes, documents and searches; reading the organization itself still answers and reports suspended, and the client should contact support.

Media typeapplication/json
object
code
required
string
reason
required
string
error
required
string

Example generated

{
"code": "example",
"reason": "example",
"error": "example"
}
X-Request-Id
string

The request identifier used for support and audit correlation.

Retry-After
integer

Seconds to wait before retrying. Sent with every 429 so a client slows down instead of failing.