List API keys
curl --request GET \
--url https://api.insightchain.ai/v1/api_keys \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/api_keys"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/api_keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "74a3e59a-874a-446c-b33e-3df7c2e80da1",
"keys": [
{
"id": "ed9b1e32-1e24-4ad0-a3b9-0d417e0f4685",
"name": "Planning integration",
"kind": "key",
"environment": "live",
"scopes": [
"read"
],
"active": true,
"daily_limit": 10000,
"requests_today": 100,
"last_reset_date": "2026-11-21",
"last_used_at": "2026-11-21T16:04:00+00:00",
"expires_at": null,
"key_hint": "ic_live_...JgyE",
"rotated_at": null,
"previous_secret_expires_at": null,
"created_at": "2026-11-21T16:03:07.935221+00:00",
"created_by": "352c0d6b-a387-436c-9dcb-6ae0fe61237c",
"owner_email": "planner@example.com",
"org_id": "c3d87f86-a9e9-4129-9605-b13670e4fe0c"
}
],
"caller": {
"kind": "api_key",
"org_id": "c3d87f86-a9e9-4129-9605-b13670e4fe0c",
"environment": "live"
},
"object": "list",
"data": [
{
"id": "ed9b1e32-1e24-4ad0-a3b9-0d417e0f4685",
"name": "Planning integration",
"kind": "key",
"environment": "live",
"scopes": [
"read"
],
"active": true,
"daily_limit": 10000,
"requests_today": 100,
"last_reset_date": "2026-11-21",
"last_used_at": "2026-11-21T16:04:00+00:00",
"expires_at": null,
"key_hint": "ic_live_...JgyE",
"rotated_at": null,
"previous_secret_expires_at": null,
"created_at": "2026-11-21T16:03:07.935221+00:00",
"created_by": "352c0d6b-a387-436c-9dcb-6ae0fe61237c",
"owner_email": "planner@example.com",
"org_id": "c3d87f86-a9e9-4129-9605-b13670e4fe0c"
}
],
"has_more": false,
"next_cursor": null
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}API keys
List API keys
The API keys of your organization, the newest 500 (never a secret). A test key lists the sandbox’s keys.
Key scope: keys. The key’s creator must be an organization admin now. Answers the list object (object, data, has_more, next_cursor); the same rows stay under keys, deprecated. At most 500 keys are listed, newest first
GET
/
v1
/
api_keys
List API keys
curl --request GET \
--url https://api.insightchain.ai/v1/api_keys \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.insightchain.ai/v1/api_keys"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.insightchain.ai/v1/api_keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"request_id": "74a3e59a-874a-446c-b33e-3df7c2e80da1",
"keys": [
{
"id": "ed9b1e32-1e24-4ad0-a3b9-0d417e0f4685",
"name": "Planning integration",
"kind": "key",
"environment": "live",
"scopes": [
"read"
],
"active": true,
"daily_limit": 10000,
"requests_today": 100,
"last_reset_date": "2026-11-21",
"last_used_at": "2026-11-21T16:04:00+00:00",
"expires_at": null,
"key_hint": "ic_live_...JgyE",
"rotated_at": null,
"previous_secret_expires_at": null,
"created_at": "2026-11-21T16:03:07.935221+00:00",
"created_by": "352c0d6b-a387-436c-9dcb-6ae0fe61237c",
"owner_email": "planner@example.com",
"org_id": "c3d87f86-a9e9-4129-9605-b13670e4fe0c"
}
],
"caller": {
"kind": "api_key",
"org_id": "c3d87f86-a9e9-4129-9605-b13670e4fe0c",
"environment": "live"
},
"object": "list",
"data": [
{
"id": "ed9b1e32-1e24-4ad0-a3b9-0d417e0f4685",
"name": "Planning integration",
"kind": "key",
"environment": "live",
"scopes": [
"read"
],
"active": true,
"daily_limit": 10000,
"requests_today": 100,
"last_reset_date": "2026-11-21",
"last_used_at": "2026-11-21T16:04:00+00:00",
"expires_at": null,
"key_hint": "ic_live_...JgyE",
"rotated_at": null,
"previous_secret_expires_at": null,
"created_at": "2026-11-21T16:03:07.935221+00:00",
"created_by": "352c0d6b-a387-436c-9dcb-6ae0fe61237c",
"owner_email": "planner@example.com",
"org_id": "c3d87f86-a9e9-4129-9605-b13670e4fe0c"
}
],
"has_more": false,
"next_cursor": null
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>"
},
"request_id": "<string>",
"details": [
"<unknown>"
],
"limit": 123,
"code": "<string>",
"field": "<string>"
}Authorizations
Query Parameters
Response
OK