GamebeastDocs
Dashboard
SDK V1Requests

Report request completion

POST
/sdk/v1/requests/completed

Reports completion of one or more job requests. Each item carries requestId, a terminal status (success | failure | pending), and the job's return value as result (or response). Failed jobs that still have retry budget are automatically requeued. Response is the list of IDs that were updated.

Authorization

sdkApiKey
authorization<token>

SDK (public) key, prefixed gb_pk_ (older keys: sdk_). Send it as the authorization header value. Scoped to one project, so it is safe to ship in a game build.

In: header

Header Parameters

isstudio?|
Defaulttrue
project-id?integer
Range0 < value <= 9007199254740991

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[index: integer]?

Response Body

application/json

curl -X POST "https://example.com/sdk/v1/requests/completed" \  -H "Content-Type: application/json" \  -d '[    {      "requestId": 0,      "status": "pending"    }  ]'
[  0]