Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get a team's partner account

Returns the live and test partner tenants managed by this team. Team membership is required. Partner billing is handled outside Spacefast.

GET/v1/teams/{teamId}/partner
Authorization
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

Path parameters
teamIdstringrequired
min length 1
Responses
200

Response for status 200

$schemastring<uri>

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

dataobjectrequired
Show properties
teamIdstringrequired
liveobjectrequired
Show properties
idstringrequired

Tenant id.

kindstringrequired

Tenant class.

Allowed:mainpartnerinternal
modestringrequired

test for a linked test tenant (a sandbox twin), live otherwise. Distinct from provisioning.mode.

Allowed:livetest
statusstringrequired

Whether the tenant is active, past due, suspended, or deleted.

Allowed:activepast_duesuspendeddeleted
namestringrequired

Human-readable tenant name.

domainSetupobject

DNS ownership and routing instructions for declared custom domains. Test tenants do not configure live domains.

Show properties
apiobject | nullrequired
Show properties
Any of:
object
originstring<uri>required
dnsInstructionsobject[]required
Show properties
Array of object
typestringrequired
Allowed:AAAAACNAMETXTALIAS
namestringrequired

Record name to create, relative to the zone.

valuestringrequired

Exact record value to set.

ttlinteger
min -9007199254740991 · max 9007199254740991
purposestringrequired

Why this record is needed.

Allowed:verificationroutingssl
probeUrlstring<uri>required
upstreamOriginstring<uri>required
proxyHeadersobjectrequired
Show properties
x-spacefast-tenant-idstringrequired
null
null
hostnamesobject | nullrequired
Show properties
Any of:
object
apexstringrequired
dnsInstructionsobject[]required
Show properties
Array of object
typestringrequired
Allowed:AAAAACNAMETXTALIAS
namestringrequired

Record name to create, relative to the zone.

valuestringrequired

Exact record value to set.

ttlinteger
min -9007199254740991 · max 9007199254740991
purposestringrequired

Why this record is needed.

Allowed:verificationroutingssl
null
null
defaultRegionstring | nullrequired

Region new spaces are placed in unless one is requested; null means auto.

provisioningobjectrequired

How this tenant's infrastructure is accounted for.

Show properties
modestringrequired

byo when the tenant's sites run under its own provider client, managed when they run under ours.

Allowed:managedbyo
providerClientIdstring | nullrequired

The tenant's own provider client (pvc_), when it has one.

systemSpaceIdstring | nullrequired

Space designated as this tenant's own system surface (its dashboard, portal, or control page). Must be a space this tenant owns.

manifestStatusobjectrequired

Materialization status of the system-space manifest, reconciled from that space's live version.

Show properties
itemsobject[]required

Per-key materialization status.

Show properties
Array of object
keystringrequired

The manifest key this item materializes.

statestringrequired

Where the last reconcile landed this key.

Allowed:pendingactivefailed
detailstring

Human-readable reason, present when the state warrants one (typically failed).

sincestring<date-time>required

When this key last CHANGED state — stable across no-op re-runs, so it reads as <state> since ….

matches ^(?:(?:\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))$
challengestring

Sign this challenge with every new issuer key, using the supplied audience, then republish proofs. Existing active keys remain usable while rotation is pending.

audiencestring

tokenIssuers only: the server-minted opaque audience for the issuer this key materialized. Not a secret — it rides in every partner token's aud claim and is verified server-side — and the partner needs it to sign the activation proof and to mint tokens, so it is served here rather than handed over out of band.

sourceVersionIdstring | nullrequired

The system space's live version every item was converged from, or null when nothing is materialized.

presentationobject | nullrequired

The partner-facing branding and links currently materialized from the system-space manifest, or null when none is materialized.

Show properties
Any of:
object
namestring
min length 1 · max length 255
logostring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
supportUrlstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
claimOriginstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
accessHandoffOriginstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
problemDocsBaseUrlstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
contactsobject

Named contact URLs or addresses shown to claimants and partners.

null
null
createdAtstring<date-time>required
matches ^(?:(?:\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))$
updatedAtstring<date-time>required
matches ^(?:(?:\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))$
testobjectrequired
Show properties
idstringrequired

Tenant id.

kindstringrequired

Tenant class.

Allowed:mainpartnerinternal
modestringrequired

test for a linked test tenant (a sandbox twin), live otherwise. Distinct from provisioning.mode.

Allowed:livetest
statusstringrequired

Whether the tenant is active, past due, suspended, or deleted.

Allowed:activepast_duesuspendeddeleted
namestringrequired

Human-readable tenant name.

domainSetupobject

DNS ownership and routing instructions for declared custom domains. Test tenants do not configure live domains.

Show properties
apiobject | nullrequired
Show properties
Any of:
object
originstring<uri>required
dnsInstructionsobject[]required
Show properties
Array of object
typestringrequired
Allowed:AAAAACNAMETXTALIAS
namestringrequired

Record name to create, relative to the zone.

valuestringrequired

Exact record value to set.

ttlinteger
min -9007199254740991 · max 9007199254740991
purposestringrequired

Why this record is needed.

Allowed:verificationroutingssl
probeUrlstring<uri>required
upstreamOriginstring<uri>required
proxyHeadersobjectrequired
Show properties
x-spacefast-tenant-idstringrequired
null
null
hostnamesobject | nullrequired
Show properties
Any of:
object
apexstringrequired
dnsInstructionsobject[]required
Show properties
Array of object
typestringrequired
Allowed:AAAAACNAMETXTALIAS
namestringrequired

Record name to create, relative to the zone.

valuestringrequired

Exact record value to set.

ttlinteger
min -9007199254740991 · max 9007199254740991
purposestringrequired

Why this record is needed.

Allowed:verificationroutingssl
null
null
defaultRegionstring | nullrequired

Region new spaces are placed in unless one is requested; null means auto.

provisioningobjectrequired

How this tenant's infrastructure is accounted for.

Show properties
modestringrequired

byo when the tenant's sites run under its own provider client, managed when they run under ours.

Allowed:managedbyo
providerClientIdstring | nullrequired

The tenant's own provider client (pvc_), when it has one.

systemSpaceIdstring | nullrequired

Space designated as this tenant's own system surface (its dashboard, portal, or control page). Must be a space this tenant owns.

manifestStatusobjectrequired

Materialization status of the system-space manifest, reconciled from that space's live version.

Show properties
itemsobject[]required

Per-key materialization status.

Show properties
Array of object
keystringrequired

The manifest key this item materializes.

statestringrequired

Where the last reconcile landed this key.

Allowed:pendingactivefailed
detailstring

Human-readable reason, present when the state warrants one (typically failed).

sincestring<date-time>required

When this key last CHANGED state — stable across no-op re-runs, so it reads as <state> since ….

matches ^(?:(?:\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))$
challengestring

Sign this challenge with every new issuer key, using the supplied audience, then republish proofs. Existing active keys remain usable while rotation is pending.

audiencestring

tokenIssuers only: the server-minted opaque audience for the issuer this key materialized. Not a secret — it rides in every partner token's aud claim and is verified server-side — and the partner needs it to sign the activation proof and to mint tokens, so it is served here rather than handed over out of band.

sourceVersionIdstring | nullrequired

The system space's live version every item was converged from, or null when nothing is materialized.

presentationobject | nullrequired

The partner-facing branding and links currently materialized from the system-space manifest, or null when none is materialized.

Show properties
Any of:
object
namestring
min length 1 · max length 255
logostring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
supportUrlstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
claimOriginstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
accessHandoffOriginstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
problemDocsBaseUrlstring
min length 1 · max length 2048 · matches ^https:\/\/[^\s"'<>\\*]+$
contactsobject

Named contact URLs or addresses shown to claimants and partners.

null
null
createdAtstring<date-time>required
matches ^(?:(?:\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))$
updatedAtstring<date-time>required
matches ^(?:(?:\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))$
default

Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.

$schemastring<uri>

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

typestringrequired

Problem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.

titlestringrequired

Short human-readable summary of the problem type. The server derives it mechanically from code.

statusintegerrequired

HTTP status code of this response, repeated in the body.

min -9007199254740991 · max 9007199254740991
detailstringrequired

Human-readable failure explanation for this occurrence.

codestringrequired

Stable snake_case error code naming the failed public contract.

pointerstring

RFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.

detailsobject

Machine-readable context for the error code.

fixstring

One sentence on what to do about this error code, the same text as the type page. Read it before retrying.

suggestionsstring[]

Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.

nextstring[]

Copy-pasteable commands or API requests an agent can run next.

requestIdstringrequired

The request id to quote when contacting support.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.spacefast.com/v1/teams/string/partner' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "$schema": "http://example.com",
  "data": {
    "teamId": "string",
    "live": {
      "id": "string",
      "kind": "main",
      "mode": "live",
      "status": "active",
      "name": "string",
      "domainSetup": {
        "api": {
          "origin": "http://example.com",
          "dnsInstructions": [
            {
              "type": "A",
              "name": "string",
              "value": "string",
              "ttl": -9007199254740991,
              "purpose": "verification"
            }
          ],
          "probeUrl": "http://example.com",
          "upstreamOrigin": "http://example.com",
          "proxyHeaders": {
            "x-spacefast-tenant-id": "string"
          }
        },
        "hostnames": {
          "apex": "string",
          "dnsInstructions": [
            {
              "type": "A",
              "name": "string",
              "value": "string",
              "ttl": -9007199254740991,
              "purpose": "verification"
            }
          ]
        }
      },
      "defaultRegion": "string",
      "provisioning": {
        "mode": "managed",
        "providerClientId": "string"
      },
      "systemSpaceId": "string",
      "manifestStatus": {
        "items": [
          {
            "key": "string",
            "state": "pending",
            "detail": "string",
            "since": "2019-08-24T14:15:22Z",
            "challenge": "string",
            "audience": "string"
          }
        ],
        "sourceVersionId": "string"
      },
      "presentation": {
        "name": "string",
        "logo": "string",
        "supportUrl": "string",
        "claimOrigin": "string",
        "accessHandoffOrigin": "string",
        "problemDocsBaseUrl": "string",
        "contacts": {
          "property1": "string",
          "property2": "string"
        }
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    },
    "test": {
      "id": "string",
      "kind": "main",
      "mode": "live",
      "status": "active",
      "name": "string",
      "domainSetup": {
        "api": {
          "origin": "http://example.com",
          "dnsInstructions": [
            {
              "type": "A",
              "name": "string",
              "value": "string",
              "ttl": -9007199254740991,
              "purpose": "verification"
            }
          ],
          "probeUrl": "http://example.com",
          "upstreamOrigin": "http://example.com",
          "proxyHeaders": {
            "x-spacefast-tenant-id": "string"
          }
        },
        "hostnames": {
          "apex": "string",
          "dnsInstructions": [
            {
              "type": "A",
              "name": "string",
              "value": "string",
              "ttl": -9007199254740991,
              "purpose": "verification"
            }
          ]
        }
      },
      "defaultRegion": "string",
      "provisioning": {
        "mode": "managed",
        "providerClientId": "string"
      },
      "systemSpaceId": "string",
      "manifestStatus": {
        "items": [
          {
            "key": "string",
            "state": "pending",
            "detail": "string",
            "since": "2019-08-24T14:15:22Z",
            "challenge": "string",
            "audience": "string"
          }
        ],
        "sourceVersionId": "string"
      },
      "presentation": {
        "name": "string",
        "logo": "string",
        "supportUrl": "string",
        "claimOrigin": "string",
        "accessHandoffOrigin": "string",
        "problemDocsBaseUrl": "string",
        "contacts": {
          "property1": "string",
          "property2": "string"
        }
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  }
}

Was this page helpful?