ApiContracts
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/contracts.v1.Contracts/GetContract" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "AAECAwQFBgcICQoLDA0ODw==", "contractId": "EBESExQVFhcYGRobHB0eHw==" }'{
"contract": {
"id": "EBESExQVFhcYGRobHB0eHw==",
"workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
"name": "AK-47 under $50",
"description": "Buy any AK-47 skin priced below $50 on CSFloat.",
"status": "CONTRACT_STATUS_ACTIVE",
"type": "CONTRACT_TYPE_BUYING",
"createdAt": "2026-02-10T09:00:00Z",
"updatedAt": "2026-04-01T12:15:00Z",
"version": "3",
"snapshot": "7"
}
}Empty
Fetch a single workspace by ID.
Returns the workspace record identified by workspace_id. The caller must be a member of the workspace; requests for workspaces the caller does not belong to are rejected with permission_denied.
List contract IDs in a workspace.
Returns a paged list of contract IDs in the workspace. Use GetContract or GetContracts to hydrate the full records. Supports filtering by contract type (buying vs selling).