supanovasupanovaDOCS
Open Launchpad
Launchpad documentation
trade orders

Status of an order: pending, open, filled, rejected, cancelled or expired.

GET /api/v1/orders/{commandId}/status. Status of an order: pending, open, filled, rejected, cancelled or expired.

Request

GET /api/v1/orders/{commandId}/status

Authentication is required. Supported credentials: a customer API key with read scope in X-API-Key or a signed-in customer session token in Authorization: Bearer …. Send one credential type only; never both.

Parameters

NameInTypeRequiredConstraintsDescription
commandIdpathstringYesmin length: 1; max length: 255; pattern: ^[A-Za-z0-9._:-]+$—
X-Service-Act-AsheaderstringNomin length: 3; max length: 512Service-principal path only (local and devnet stages; refused by configuration on mainnet). With an OAuth client-credentials bearer token from the validator, names the allow-listed Party the client acts as. Missing: 400 SERVICE_ACT_AS_REQUIRED; not allow-listed: 403 SERVICE_PARTY_NOT_ALLOWED. Ignored for customer session tokens.
X-Request-IdheaderstringNomin length: 8; max length: 128; pattern: ^[A-Za-z0-9._:-]+$Optional client correlation identifier. The server always generates a separate authoritative request ID and retains a valid supplied value only as secondary audit correlation metadata.

cURL

Set COMMAND_ID to the path and required query values before running this example. URL-encode path values as needed.

bash
curl --fail-with-body --silent --show-error \
  --request GET \
  --url "https://launch-api.supanova.app/api/v1/orders/${COMMAND_ID}/status" \
  --header "X-API-Key: $SUPANOVA_API_KEY"

Responses

200

The order intent as the ledger settled it.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Type: object.

FieldTypeRequiredConstraintsDescription
commandIdstringYes——
clientRefstringYes——
operationIdone or more variants · Schema 1Yes——
partyIdstringYes——
statusstringYesallowed: "pending", "open", "filled", "rejected", "cancelled", "expired"—
orderIdstring or nullYes——
instrumentIdstringYes——
sidestringYesallowed: "buy", "sell"—
amountstringYes——
limitstringYes——
venueone or more variants · Schema 2Yes——
reasonstring or nullYes——
expiresAtstringYesformat: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$—
createUpdateIdstring or nullYes——
closingUpdateIdstring or nullYes——
closingRecordTimeone or more variants · Schema 3Yes——
settledone or more variants · Schema 4Yes——
errorone or more variants · Schema 5Yes——

Additional fields are not allowed.

400

The request is malformed or failed validation. Codes: VALIDATION_FAILED, AMBIGUOUS_CREDENTIALS, SERVICE_ACT_AS_REQUIRED.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

401

Credentials are missing, malformed, expired or revoked. Codes: AUTHENTICATION_REQUIRED, INVALID_AUTHORIZATION_HEADER, INVALID_ACCESS_TOKEN, SESSION_REVOKED, API_KEY_INVALID, API_KEY_REVOKED.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

403

The credential may not call this route. Owner routes accept only a customer API key: an internal master key answers API_KEY_ROUTE_NOT_ALLOWED. Codes: ACCOUNT_RESTRICTED, ANONYMOUS_ACCOUNT_NOT_ALLOWED, API_KEY_ROUTE_NOT_ALLOWED, SERVICE_PARTY_NOT_ALLOWED, SERVICE_PRINCIPAL_NOT_ALLOWED, SIGNUP_NOT_INVITED, API_KEY_IP_NOT_ALLOWED, PRODUCT_ACCOUNT_RESTRICTED.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

404

No such owned order.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

429

The caller exceeded an IP or principal request budget.

HeaderTypeDescription
Retry-AfterintegerWhole seconds to wait before retrying a rate-limited request.
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

503

A dependency is unavailable or the feature is not enabled on this deployment. Codes: AUTHENTICATION_UNAVAILABLE, AUTHORIZATION_UNAVAILABLE.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

default

Machine-readable API error. The HTTP status identifies the error class.

HeaderTypeDescription
X-Request-IdstringServer-generated request correlation identifier to retain for support and reconciliation.

Content type: application/json

Standard envelope: error.code, error.message, optional error.details, and requestId. See error handling and the full code registry.

Nested schemas

Field links above lead to the complete nested object, array, and variant definitions below. Required fields are scoped to their containing object.

Schema 1

Response 200.operationId

Type: one or more variants.

At least one of these variants must match:

  • Variant 1: string. format: uuid; pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
  • Variant 2: null.

Schema 2

Response 200.venue

Type: one or more variants.

At least one of these variants must match:

  • Variant 1: string. allowed: "curve", "amm"
  • Variant 2: null.

Schema 3

Response 200.closingRecordTime

Type: one or more variants.

At least one of these variants must match:

  • Variant 1: string. format: date-time; pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
  • Variant 2: null.

Schema 4

Response 200.settled

Type: one or more variants.

At least one of these variants must match:

  • Variant 1: object · Schema 6.
  • Variant 2: null.

Schema 5

Response 200.error

Type: one or more variants.

At least one of these variants must match:

  • Variant 1: object · Schema 7.
  • Variant 2: null.

Schema 6

Response 200.settled variant 1

Type: object.

FieldTypeRequiredConstraintsDescription
venuestringYesallowed: "curve", "amm"—
sidestringYesallowed: "buy", "sell"—
ccInstring or nullYes——
ccOutstring or nullYes——
tokenInstring or nullYes——
tokenOutstring or nullYes——
feeCcstringYes——
platformFeeCcstringYes——
makerFeeCcstringYes——
referralFeeCcstringNo——
balanceCidAfterstringYes——
holdingCidstring or nullYes——
changeCidstring or nullYes——
graduatesbooleanYes——
partialbooleanYes——
requestedGrossCcstring or nullYes——
unspentCcstring or nullYes——

Additional fields are not allowed.

Schema 7

Response 200.error variant 1

Type: object.

FieldTypeRequiredConstraintsDescription
codestringYes——
messagestringYes——

Additional fields are not allowed.

Source contract

This page is generated from the checked-in customer OpenAPI snapshot. Download JSON, download YAML, or compare the live API reference. Snapshot provenance records the retrieval date and checksum.

Generated from the public API contractDeveloper settings