MeyktAPI Documentation

Read the state of an approval request

All field references · Actions

GET /v1/action-requests/{id}

State of a request created by POST /v1/actions/{name}: pending, approved, executed, failed, rejected, expired or discarded, with timestamps and result counts. Executed means processing finished, not that every item succeeded. Needs the switch Read data. Actions need a key created by the organization owner, AI access switched on in Meykt with its current notices confirmed, and a plan that includes AI access (else 403 with reason owner_key_required, ai_access_off, consent_required or plan_required). The key appears under AI access → Connected apps in Meykt; ending it there stops the key’s actions (403 reason=connection_ended).

Required scopes: "actions:read".

How to read these tables

#Parameters

#path: id

Required. request_id from POST /v1/actions/{name}.

FieldTypePresencenullMeaning, limits and examples
$ (whole value)stringWhole valueNot allowedformat: "uuid".

#Request body

No request body is defined for this operation.

#Response 200

200: Success

Content type: application/json

FieldTypePresencenullMeaning, limits and examples
$ (whole value)objectWhole valueNot allowed—
dataobjectRequired when parent is presentNot allowedAuthorized response payload or documented event data.
data.requestobjectRequired when parent is presentNot allowedCurrent state of the owner approval request.

#Response 401, 403, 404, 429, 500, 503

401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 404: Not found. Also applies to IDs that belong to another organization — we deliberately do not distinguish between "does not exist" and "does not belong to you". 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.

Content type: application/json

FieldTypePresencenullMeaning, limits and examples
$ (whole value)objectWhole valueNot allowed—
errorobjectRequired when parent is presentNot allowedMachine-readable error code; use it to select the documented recovery path.
error.codestringRequired when parent is presentNot allowedMachine-readable, permanently stable error code. Program against it, not against message.
error.messagestringRequired when parent is presentNot allowedExplanation for humans. May change at any time.
error.fieldstringOptionalNot allowedAffected location in the request, if it can be determined.
error.doc_urlstringRequired when parent is presentNot allowedDocumentation link explaining this API error. format: "uri".

Machine-readable version of this page: https://www.meykt.com/developers/fields-get-action-request.md