Identify this instance
curl --request GET \ --url https://example.com/api/v1/instancePublic document an app reads before anyone signs in: it marks the address as a Chelsea instance, names the organization it belongs to, says whether setup is complete, and gives the API major version, the oldest app version per platform and the sign-in issuer and resource. No auth; rate limited by address. The answer may be reused for 60 seconds (Cache-Control: public, max-age=60). It carries neither the server version nor the sign-in methods.
Responses
Section titled “Responses”The instance document.
object
Identifies an address as a Chelsea instance and says whose it is, whether it is set up, which API it speaks and where to sign in. Carries neither the server version nor the sign-in methods.
object
object
Oldest app version the server serves, keyed by platform. The object may gain keys, so a client reads only the key for its own platform.
object
Oldest Android app version the server serves, as a dotted version number. A server from before the Android app omits it, and that server cannot sign the app in.
Oldest command-line tool version the server serves, as a dotted version number. A server from before the command-line tool omits it, and that server cannot sign it in.
Oldest desktop app version the server serves, as a dotted version number.
Oldest browser extension version the server serves, as a dotted version number. A server from before the extension signed in through the browser omits it, and that server cannot sign it in.
Oldest iPhone app version the server serves, as a dotted version number. A server from before the iPhone app omits it, and that server cannot sign the app in.
Major version of the REST API, the number in the path (/api/v1 is 1). Not the version of the server.
team on the instance’s own address, clients on a client portal domain, which serves only the client portal. Absent on a server older than this field; an app reads that as team.
object
The sign-in issuer of this instance. It can differ from the address the document was fetched from when the instance has more than one address; an app compares the iss it later receives with this value.
The REST API resource a token for this instance is issued for. Shares its origin with issuer.
Signed URL of the organization’s logo, stable for a window of time so a client can cache the image; null when it has none.
The organization’s name, the way its sign-in pages show it.
Always chelsea. An app checks it before it trusts anything else in the document.
ready once the first person has been created, not_set_up before. An app that reads a value it does not know treats the instance as not ready.
Example
{ "data": { "audience": "team", "product": "chelsea", "status": "ready" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC