curl --request POST \
--url https://api.drpn.ai/rest/s1/graphql/public \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "query KeyCheck {\n reconciliationResults(first: 1) {\n edges { node { reconciliationRunResultId createdDate } }\n pageInfo { hasNextPage }\n }\n}"
}
'
{
"data": {
"reconciliationResults": {
"edges": [
{
"node": {
"reconciliationRunResultId": "100457",
"createdDate": "2026-10-26T06:30:12Z"
}
}
],
"pageInfo": {
"hasNextPage": true
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 3,
"actualQueryCost": 3,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 997,
"restoreRate": 50
}
}
}
}
Get started
API explorer
Send any query with your own API key, from this page.
POST
/
rest
/
s1
/
graphql
/
public
curl --request POST \
--url https://api.drpn.ai/rest/s1/graphql/public \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "query KeyCheck {\n reconciliationResults(first: 1) {\n edges { node { reconciliationRunResultId createdDate } }\n pageInfo { hasNextPage }\n }\n}"
}
'
{
"data": {
"reconciliationResults": {
"edges": [
{
"node": {
"reconciliationRunResultId": "100457",
"createdDate": "2026-10-26T06:30:12Z"
}
}
],
"pageInfo": {
"hasNextPage": true
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 3,
"actualQueryCost": 3,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 997,
"restoreRate": 50
}
}
}
}
Paste your
dgql_ key into Authorization, choose an example in the request panel, and press Send. Every query goes to the same endpoint; the body’s query says what to read.
- Your key goes only to the API. Your browser sends the request straight to the API host; developers.drpn.ai never receives the key. The browser remembers it for this site, so on a shared computer clear the Authorization field when you finish.
- Pick the host. Hosted Darpan is
https://api.drpn.ai. For your own instance, choose Self-hosted Darpan and enter its backend host; it must listhttps://developers.drpn.aiinwebapp_public_api_origins. - Start with Check your key. It works on every tenant. The other examples name an audit (
month-close), a date and a finding id (F-20790): replace them with ones from your tenant, or the answer is… was not found. - Write your own. Switch the body to JSON and edit
query. Field names and types are in the reference; the full schema is atGET /rest/s1/graphql/sdl.
Authorizations
Your dgql_ API key. Your browser sends it straight to the host above; developers.drpn.ai never receives it. See Authentication.
Body
application/json
Response
200 - application/json
Every response is HTTP 200, a refused one too: read errors.
The fields you asked for. Absent when the query was refused before it ran.
cost: what the query cost and what is left in the key's bucket; see Cost and throttling.