Query
query ApiKeys($input: GetApiKeysInput!) {
apiKeys(input: $input) {
edges {
cursor
node {
createdAt
description
displayName
environmentId
expireAt
id
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Variables
{
"input": {}
}Response
{
"data": {
"apiKeys": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"description": "string",
"displayName": "string",
"environmentId": "value",
"expireAt": "value",
"id": "value"
}
}
],
"pageInfo": {
"endCursor": "value",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "value"
},
"totalCount": 1
}
}
}Queries
apiKeys
Retrieve paginated list of API keys
QUERY
apiKeys(input: GetApiKeysInput!): ApiKeyConnection!Arguments
input
required
Returns
edges
[ApiKeyEdge!]!
Edges in the current page
pageInfo
Pagination information
totalCount
Int!
Total number of items matching the filter
Query
query ApiKeys($input: GetApiKeysInput!) {
apiKeys(input: $input) {
edges {
cursor
node {
createdAt
description
displayName
environmentId
expireAt
id
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Variables
{
"input": {}
}Response
{
"data": {
"apiKeys": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"description": "string",
"displayName": "string",
"environmentId": "value",
"expireAt": "value",
"id": "value"
}
}
],
"pageInfo": {
"endCursor": "value",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "value"
},
"totalCount": 1
}
}
}