solarOS Organization API

Organization API

Get one quote-generated Contract

Get one quote-generated Contract

/api/v1/contracts/{id}

Get one quote-generated Contract

Get one quote-generated Contract. Use an organization API key with contracts:read. Check the response envelope and meta.requestId before triggering dependent workflow steps.

Required scopes

contracts:read

Parameters

NameInTypeDescription
idrequiredpathstringContract identifier returned by the Organization API.

Request body

This endpoint does not accept a JSON request body.

Responses

200

Contract envelope

#/components/schemas/OrgApiResourceEnvelope

401

Missing or invalid organization API key

#/components/schemas/OrgApiError

402

Organization billing access or an endpoint-specific business quota denied the request

#/components/schemas/OrgApiError

403

Missing required scope: contracts:read

#/components/schemas/OrgApiError

404

Not found

#/components/schemas/OrgApiError

429

Rate limit exceeded

#/components/schemas/OrgApiError

Errors

401 Missing or invalid organization API key402 Organization billing access or an endpoint-specific business quota denied the request403 Missing required scope: contracts:read404 Not found429 Rate limit exceeded

Static examples

curl -X GET "$SOLAROS_BASE_URL/api/v1/contracts/$SOLAROS_CONTRACT" \
  -H "Authorization: Bearer $SOLAROS_API_KEY"