Schemas
The objects the endpoints accept and return. Each endpoint links the ones it uses.
AddOperatorRequest
Section titled “AddOperatorRequest”| Field | Type | Required | Description |
|---|---|---|---|
role | Role | Yes | |
user_id | string | Yes |
AtlassianAdoptRequest
Section titled “AtlassianAdoptRequest”| Field | Type | Required | Description |
|---|---|---|---|
agent_key | string | Yes | |
expires_at | string | No | |
token | string | Yes |
AtlassianConnectRequest
Section titled “AtlassianConnectRequest”| Field | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | |
cloud_id | string | No | |
org_id | string | Yes | |
site_url | string | No |
AtlassianProjectAccess
Section titled “AtlassianProjectAccess”| Field | Type | Required | Description |
|---|---|---|---|
container | string | No | |
error | string | No | |
excess | array of string | No | |
missing | array of string | No | |
pending | boolean | No | Pending means the agent’s seat has not taken effect yet, so the check could not run rather than having failed. |
product | string | No | Product distinguishes an ENG project from an ENG space. |
settings_style | string | No | |
settings_url | string | No | SettingsURL is where a person changes this container’s access, and SettingsStyle what kind of screen that is. |
AtlassianServiceAccountStatus
Section titled “AtlassianServiceAccountStatus”| Field | Type | Required | Description |
|---|---|---|---|
agent_key | string | No | |
display_name | string | No | |
email | string | No | |
has_token | boolean | No | |
last_error | string | No | |
projects | array of AtlassianProjectAccess | No | Projects is what the agent may actually do in each project and space it works in, as the product reported it at the last sync. Each entry names its product, because a Jira project and a Confluence space can share a key. An entry carrying excess names access the tenant’s own permission scheme granted on top of what Crewlet asks for; only they can revoke it. |
status | string | No | |
token_expires_at | string | No | |
updated_at | string | No |
AtlassianStatusResponse
Section titled “AtlassianStatusResponse”| Field | Type | Required | Description |
|---|---|---|---|
available | boolean | No | |
awaiting_app | boolean | No | AwaitingApp means the credential works but nothing is provisioned yet, because the Crewlet app is not on the site. It is the console’s cue to keep showing the install step and to keep checking. |
cloud_id | string | No | |
connected | boolean | No | |
connected_at | string | No | |
forge_install_url | string | No | ForgeInstallURL is where an administrator installs the app, empty when the deployment has none configured. |
forge_installed | boolean | No | ForgeInstalled reports whether the Crewlet app is installed on the site, confirmed with Atlassian rather than assumed. |
org_id | string | No | |
reconcile | ReconcileStatus | No | Reconcile is what the loop last made of this integration, so the console states whether a provider is still applying something or a person is being waited on. |
service_accounts | array of AtlassianServiceAccountStatus | No | |
site_url | string | No | |
status | string | No |
AuditActorKind
Section titled “AuditActorKind”Type: string. One of human, machine, pat, system, anonymous.
AuditDailySummary
Section titled “AuditDailySummary”| Field | Type | Required | Description |
|---|---|---|---|
company_id | string | No | |
count | integer | No | |
day | string | No | |
event_type | AuditEventType | No | |
outcome | AuditOutcome | No |
AuditEvent
Section titled “AuditEvent”| Field | Type | Required | Description |
|---|---|---|---|
actor_kind | AuditActorKind | No | |
actor_label | string | No | |
actor_user_id | string | No | |
changes | array of integer | No | The field-level diff of a state-changing event, as { "field": { "from": ..., "to": ... } }, with sensitive keys removed. Absent when there is no diff (creation, deletion, sign-in). |
client_ip | array of integer | No | |
company_id | string | No | |
correlation_id | string | No | |
credential_id | string | No | |
credential_kind | string | No | |
credential_prefix | string | No | |
event_type | AuditEventType | No | |
http_method | string | No | |
http_path | string | No | |
http_status | integer | No | |
id | string | No | |
metadata | array of integer | No | |
occurred_at | string | No | |
outcome | AuditOutcome | No | |
recorded_at | string | No | |
request_body | array of integer | No | The JSON body of the request a system.http_request event records, with secret-shaped keys removed. Never captured for sign-in, sign-up, token refresh or OAuth exchange. |
request_id | string | No | |
schema_version | integer | No | |
subjects | array of string | No | |
target_id | string | No | |
target_kind | AuditTargetKind | No | |
target_label | string | No | |
user_agent | string | No |
AuditEventType
Section titled “AuditEventType”Type: string. One of auth.login_succeeded, auth.login_failed, auth.logout, auth.refresh_reused, auth.email_verified, auth.password_reset, auth.mfa_enabled, auth.mfa_disabled, auth.mfa_failed, organization.created, company.created, company.updated, company.config_changed, company.deleted, company.restored, company.ownership_transferred, operator.added, operator.role_changed, operator.removed, operator.disabled, operator.enabled, machine_user.created, machine_user.deleted, machine_key.issued, machine_key.revoked, pat.issued, pat.revoked, integration.slack_connected, integration.slack_disconnected, integration.atlassian_connected, integration.atlassian_disconnected, integration.atlassian_credential_adopted, integration.github_connected, integration.github_disconnected, integration.gitlab_connected, integration.gitlab_disconnected, integration.datadog_connected, integration.datadog_disconnected, integration.datadog_role_ready, system.http_request.
AuditListResponse
Section titled “AuditListResponse”| Field | Type | Required | Description |
|---|---|---|---|
events | array of AuditEvent | No | |
next_cursor | string | No |
AuditOutcome
Section titled “AuditOutcome”Type: string. One of success, failure, denied.
AuditSummaryResponse
Section titled “AuditSummaryResponse”| Field | Type | Required | Description |
|---|---|---|---|
buckets | array of AuditDailySummary | No |
AuditTargetKind
Section titled “AuditTargetKind”Type: string. One of user, company, operator, machine_user, machine_key, pat, plan, subscription, integration, agent, quota_override, system, organization.
AuthProvider
Section titled “AuthProvider”Type: string. One of local, google, github, machine.
AuthResponse
Section titled “AuthResponse”| Field | Type | Required | Description |
|---|---|---|---|
access_token | string | No | |
csrf_token | string | No | |
user | User | No |
Company
Section titled “Company”| Field | Type | Required | Description |
|---|---|---|---|
config | array of integer | Yes | |
created_at | string | No | |
deleted_at | string | No | |
id | string | No | |
logo_url | string | No | URL of the company logo. Absent until a logo is uploaded. |
name | string | Yes | At most 100 characters. |
organization_id | string | No | OrganizationID is the organization that owns the company. |
owner_user_id | string | No | |
plan | Plan | No | |
plan_id | string | No | |
record | RecordStatus | No | How far the company’s workspace has applied its latest configuration. Returned when reading one company, and only when its workspace reports it. |
updated_at | string | No |
CompanyOperator
Section titled “CompanyOperator”| Field | Type | Required | Description |
|---|---|---|---|
company_id | string | No | |
created_at | string | No | |
id | string | No | |
role | Role | No | |
updated_at | string | No | |
user | User | No | |
user_id | string | No |
CreatedKeyResponse
Section titled “CreatedKeyResponse”| Field | Type | Required | Description |
|---|---|---|---|
company_id | string | No | |
created_at | string | No | |
expires_at | string | No | |
id | string | No | |
last_used_at | string | No | |
name | string | No | |
prefix | string | No | |
revoked_at | string | No | |
token | string | No | |
updated_at | string | No | |
user | User | No | |
user_id | string | No |
CreatedMachineOperatorResponse
Section titled “CreatedMachineOperatorResponse”| Field | Type | Required | Description |
|---|---|---|---|
key | MachineOperatorKey | No | |
token | string | No | |
user | User | No |
CreatedPATResponse
Section titled “CreatedPATResponse”| Field | Type | Required | Description |
|---|---|---|---|
allowed_company_ids | array of string | No | |
allowed_permissions | array of Permission | No | |
created_at | string | No | |
expires_at | string | No | |
id | string | No | |
last_used_at | string | No | |
name | string | No | |
prefix | string | No | |
revoked_at | string | No | |
token | string | No | |
updated_at | string | No | |
user | User | No | |
user_id | string | No |
CreateKeyRequest
Section titled “CreateKeyRequest”| Field | Type | Required | Description |
|---|---|---|---|
expires_at | string | No | |
name | string | Yes | At most 100 characters. |
CreateMachineOperatorRequest
Section titled “CreateMachineOperatorRequest”| Field | Type | Required | Description |
|---|---|---|---|
description | string | No | At most 500 characters. |
expires_at | string | No | |
name | string | Yes | At most 100 characters. |
CreateOrganizationRequest
Section titled “CreateOrganizationRequest”| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | At most 100 characters. |
CreatePATRequest
Section titled “CreatePATRequest”| Field | Type | Required | Description |
|---|---|---|---|
allowed_company_ids | array of string | No | |
allowed_permissions | array of Permission | No | |
expires_at | string | No | |
name | string | Yes | At most 100 characters. |
CreateWorkspaceRequest
Section titled “CreateWorkspaceRequest”| Field | Type | Required | Description |
|---|---|---|---|
discount_code | string | No | |
display_name | string | Yes | At most 100 characters. |
plan_id | string | Yes | |
starter | Starter | Yes |
DatadogAccess
Section titled “DatadogAccess”| Field | Type | Required | Description |
|---|---|---|---|
error | string | No | |
excess | array of string | No | |
missing | boolean | No | Missing means the agent holds none of its tier’s permissions, which is what a role removed by hand looks like. |
pending | boolean | No | Pending means the role was granted moments ago and has not taken effect yet. |
settings_url | string | No | Where a person changes the role, so a problem names its own fix. |
tier | string | No |
DatadogConnectRequest
Section titled “DatadogConnectRequest”| Field | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | |
app_key | string | Yes | |
site | string | Yes |
DatadogRoleSummary
Section titled “DatadogRoleSummary”| Field | Type | Required | Description |
|---|---|---|---|
label | string | No | |
name | string | No | |
tier | string | No | |
url | string | No |
DatadogServiceAccountStatus
Section titled “DatadogServiceAccountStatus”| Field | Type | Required | Description |
|---|---|---|---|
access | DatadogAccess | No | What the agent may actually do, as Datadog reported it at the last sync. |
agent_key | string | No | |
display_name | string | No | |
email | string | No | |
has_key | boolean | No | |
key_last4 | string | No | |
last_error | string | No | |
status | string | No | |
tier | string | No | TierLabel is the same tier in the words the console shows. |
tier_label | string | No | |
updated_at | string | No |
DatadogStatusResponse
Section titled “DatadogStatusResponse”| Field | Type | Required | Description |
|---|---|---|---|
available | boolean | No | |
connected | boolean | No | |
connected_at | string | No | |
org_name | string | No | |
org_public_id | string | No | |
reconcile | ReconcileStatus | No | Reconcile is what the loop last made of this integration, so the console states whether a provider is still applying something or a person is being waited on. |
roles | array of DatadogRoleSummary | No | Roles lets the console link to what agents may do rather than describing it second-hand. |
service_accounts | array of DatadogServiceAccountStatus | No | |
site | string | No | |
sites | array of string | No | Offered so nobody has to type a region hostname correctly. |
status | string | No |
EmailTokenRequest
Section titled “EmailTokenRequest”| Field | Type | Required | Description |
|---|---|---|---|
token | string | Yes | At most 128 characters. |
ErrorResponse
Section titled “ErrorResponse”| Field | Type | Required | Description |
|---|---|---|---|
code | string | No | |
details | string | No | |
error | string | No |
ForgotPasswordRequest
Section titled “ForgotPasswordRequest”| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | At most 255 characters. |
GitHubAccess
Section titled “GitHubAccess”| Field | Type | Required | Description |
|---|---|---|---|
account | string | No | Account is where the app is installed. A repository is named in a config that a person wrote and reads back later, so “not found” is only actionable beside the account it was looked for in. |
error | string | No | |
excess | array of string | No | Excess is anything on the deny list the installation granted. The app should never hold these, so their presence means the installation was given more than Crewlet asks for. |
granted | map of string | No | Granted is the permission set on the minted token. GitHub narrows a request silently, so this is what the agent has rather than what was asked for. |
repos | array of string | No | Repos the token actually reached, which can be fewer than the agent names if the installation does not cover them. |
settings_url | string | No | SettingsURL is where a person changes what the installation grants, so a problem names its own fix. |
short | array of string | No | Short names tier permissions the installation cannot provide, so an agent limited by the installation rather than by its tier is visible. |
tier | string | No | |
unreachable | array of string | No | Unreachable names repositories the agent’s configuration asks for that the installation does not cover. Crewlet cannot widen an installation, so these are reported for the tenant to fix. |
GitHubAgentStatus
Section titled “GitHubAgentStatus”| Field | Type | Required | Description |
|---|---|---|---|
access | GitHubAccess | No | What the agent can actually do, proven by minting a token. |
agent_key | string | No | |
dedicated_app_name | string | No | |
dedicated_app_slug | string | No | |
dedicated_install_url | string | No | |
dedicated_installed | boolean | No | |
dedicated_settings_url | string | No | DedicatedSettingsURL is where an owner deletes the app. GitHub publishes no API for that, so an app outlives every disconnect until somebody removes it by hand, and the console says so. |
identity_mode | string | No | |
last_error | string | No | |
repos | array of string | No | |
status | string | No | |
tier | string | No | |
tier_label | string | No | |
updated_at | string | No |
GitHubConnectRequest
Section titled “GitHubConnectRequest”| Field | Type | Required | Description |
|---|---|---|---|
installation_id | integer | Yes |
GitHubDedicatedInstallRequest
Section titled “GitHubDedicatedInstallRequest”| Field | Type | Required | Description |
|---|---|---|---|
agent_key | string | Yes | |
installation_id | integer | Yes |
GitHubEventsStatus
Section titled “GitHubEventsStatus”| Field | Type | Required | Description |
|---|---|---|---|
delivering | boolean | No | Delivering is true once the engine holds the secret its apps sign with. Without it every delivery is rejected as unsigned. |
last_error | string | No | LastError names what stopped the last attempt, in the terms of what somebody has to do about it. |
url | string | No | URL is the address the apps post to, so a person comparing it against GitHub’s own delivery log has the same string. |
GitHubManifestRequest
Section titled “GitHubManifestRequest”| Field | Type | Required | Description |
|---|---|---|---|
agent_key | string | Yes | |
agent_name | string | Yes |
GitHubStatusResponse
Section titled “GitHubStatusResponse”| Field | Type | Required | Description |
|---|---|---|---|
account | string | No | |
agents | array of GitHubAgentStatus | No | |
available | boolean | No | |
connected | boolean | No | |
connected_at | string | No | |
dedicated_available | boolean | No | |
events | GitHubEventsStatus | No | Events is how GitHub reaches the company’s agents. Reported beside the seats because a perfectly provisioned agent that nothing delivers to still does no work. |
install_url | string | No | InstallURL is where an administrator installs or reconfigures the app, empty when the deployment has no app configured. |
permissions | map of string | No | Permissions is what the installation holds, so the console can show the ceiling every agent is bounded by. |
reconcile | ReconcileStatus | No | Reconcile is what the loop last made of this integration, so the console states whether a provider is still applying something or a person is being waited on. |
repository_selection | string | No | RepositorySelection is “all” or “selected”, so the console can say whether agents are limited by the installation itself. |
settings_url | string | No | |
status | string | No | |
suspended | boolean | No | |
tiers | array of GitHubTierSummary | No |
GitHubTierSummary
Section titled “GitHubTierSummary”| Field | Type | Required | Description |
|---|---|---|---|
label | string | No | |
permissions | map of string | No | |
tier | string | No |
GitLabAccess
Section titled “GitLabAccess”| Field | Type | Required | Description |
|---|---|---|---|
error | string | No | |
granted | array of string | No | Granted is what the account’s token carries, read back from GitLab: a token is narrowed silently, so this is what it has rather than what was asked for. |
group | string | No | Group is where the accounts live, so a project that is not found is reported beside the place it was looked for. |
role | string | No | Role is the tier’s own name for what this agent should hold. |
settings_url | string | No | SettingsURL is where a person changes what the group grants. |
short | array of string | No | Short names scopes the tier needs that the token did not get. |
unreachable | array of string | No | Unreachable names projects the agent is configured for that the group does not contain. |
GitLabConnectRequest
Section titled “GitLabConnectRequest”| Field | Type | Required | Description |
|---|---|---|---|
base_url | string | Yes | BaseURL is the instance the group lives on, so a self-managed tenant is not a different integration. Defaulted by the console to gitlab.com. |
group | string | Yes | Group is the top-level group’s path or numeric id. |
token | string | Yes |
GitLabEventsStatus
Section titled “GitLabEventsStatus”| Field | Type | Required | Description |
|---|---|---|---|
delivering | boolean | No | Delivering is true once GitLab is registered and the engine holds the secret it signs with. Both halves, because either one alone delivers nothing. |
last_error | string | No | LastError names what stopped the last attempt, in the terms of what somebody has to do about it. |
settings_url | string | No | SettingsURL is where a person inspects the hook and its recent deliveries. |
url | string | No | URL is the address the group posts to, so a person comparing it against GitLab’s own delivery log has the same string. |
verified_at | string | No | VerifiedAt is when the hook was last seen in the group. |
GitLabProjectSeat
Section titled “GitLabProjectSeat”| Field | Type | Required | Description |
|---|---|---|---|
error | string | No | |
excess | string | No | |
granted | string | No | |
pending | boolean | No | |
project | string | No | |
role | string | No | |
settings_url | string | No | |
short | string | No |
GitLabServiceAccountStatus
Section titled “GitLabServiceAccountStatus”| Field | Type | Required | Description |
|---|---|---|---|
access | GitLabAccess | No | Access is what the agent may actually do, as GitLab reported it at the last pass. |
agent_key | string | No | |
email | string | No | |
has_token | boolean | No | HasToken says the agent holds a usable credential without revealing anything about it. |
last_error | string | No | |
name | string | No | |
projects | array of GitLabProjectSeat | No | |
status | string | No | |
tier | string | No | Tier is the stored value and TierLabel the same tier in the words the console shows. |
tier_label | string | No | |
token_expires_at | string | No | |
updated_at | string | No | |
username | string | No |
GitLabStatusResponse
Section titled “GitLabStatusResponse”| Field | Type | Required | Description |
|---|---|---|---|
available | boolean | No | |
base_url | string | No | |
connected | boolean | No | |
connected_at | string | No | |
events | GitLabEventsStatus | No | Events is how the group reaches the company’s agents. Reported beside the seats because a perfectly provisioned agent that nothing delivers to still does no work. |
group_name | string | No | |
group_path | string | No | |
plan | string | No | Plan is the namespace’s subscription, carried for context. Free caps a top-level group at 100 service accounts; paid tiers do not. |
reconcile | ReconcileStatus | No | Reconcile is what the loop last made of this integration, so the console states whether a provider is still applying something or a person is being waited on. |
service_accounts | array of GitLabServiceAccountStatus | No | |
settings_url | string | No | SettingsURL is where a person manages the group’s members. |
status | string | No | |
tiers | array of GitLabTierSummary | No | Tiers is the contract each role carries. |
GitLabTierSummary
Section titled “GitLabTierSummary”| Field | Type | Required | Description |
|---|---|---|---|
label | string | No | |
role | string | No | |
scopes | array of string | No | |
tier | string | No |
InsufficientWalletResponse
Section titled “InsufficientWalletResponse”| Field | Type | Required | Description |
|---|---|---|---|
available_cents | integer | No | |
code | string | No | |
currency | string | No | |
error | string | No | |
required_cents | integer | No |
LoginRequest
Section titled “LoginRequest”| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | |
password | string | Yes |
MachineOperatorKey
Section titled “MachineOperatorKey”| Field | Type | Required | Description |
|---|---|---|---|
company_id | string | No | |
created_at | string | No | |
expires_at | string | No | |
id | string | No | |
last_used_at | string | No | |
name | string | No | |
prefix | string | No | |
revoked_at | string | No | |
updated_at | string | No | |
user | User | No | |
user_id | string | No |
ManifestStart
Section titled “ManifestStart”| Field | Type | Required | Description |
|---|---|---|---|
action_url | string | No | |
manifest | string | No | |
state | string | No |
MemberOrganization
Section titled “MemberOrganization”| Field | Type | Required | Description |
|---|---|---|---|
created_at | string | No | |
deleted_at | string | No | |
id | string | No | |
name | string | No | |
role | OrgRole | No | |
updated_at | string | No |
MeResponse
Section titled “MeResponse”| Field | Type | Required | Description |
|---|---|---|---|
avatar_url | string | No | |
company | Company | No | Company that owns a machine user, loaded with the row so a user listing can name it without a second query. Always nil on human rows. |
company_id | string | No | Machine users only: the company the machine belongs to and the admin who created it. Unset for humans; never changes. |
created_at | string | No | |
created_by | User | No | The admin who created a machine user, included in machine user listings. Unset for humans. |
created_by_user_id | string | No | |
deleted_at | string | No | When the account was deleted. A deleted account no longer exists; disabled_at instead freezes one that still does. |
description | string | No | Description is the optional free-form blurb shown next to a machine user’s name on the management page (e.g. “deploy bot”, “CI runner”). Empty for humans. At most 500 characters. |
disabled_at | string | No | When the account was disabled; unset while enabled. Every credential it holds (sessions, personal API tokens, machine keys) is refused until it is enabled again, and none is revoked. |
email | string | No | At most 255 characters. |
first_name | string | Yes | At most 100 characters. |
id | string | No | |
is_verified | boolean | No | |
key | MachineOperatorKey | No | The machine user’s most recent key, revoked or expired ones included, in machine user listings. Unset for humans. |
kind | UserKind | No | |
last_name | string | No | At most 50 characters. |
mfa_enabled_at | string | No | |
mfa_prompt | boolean | No | MFAPrompt: the console should ask the account to turn TOTP on. |
mfa_required | boolean | No | MFARequired: the account owns or administers an organization with a paid plan or a connected integration, so sensitive actions answer 403 mfa_required until TOTP is on. |
provider | AuthProvider | No | |
updated_at | string | No |
MessageResponse
Section titled “MessageResponse”| Field | Type | Required | Description |
|---|---|---|---|
message | string | No |
MFAChallengeResponse
Section titled “MFAChallengeResponse”| Field | Type | Required | Description |
|---|---|---|---|
mfa_required | boolean | No | |
mfa_ticket | string | No |
MFACodeRequest
Section titled “MFACodeRequest”| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes | At most 32 characters. |
MFAVerifyRequest
Section titled “MFAVerifyRequest”| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Code is a six-digit one-time code or a recovery code. At most 32 characters. |
ticket | string | Yes | At most 256 characters. |
OAuthExchangeRequest
Section titled “OAuthExchangeRequest”| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes |
OrganizationMember
Section titled “OrganizationMember”| Field | Type | Required | Description |
|---|---|---|---|
created_at | string | No | |
organization_id | string | No | |
role | OrgRole | No | |
updated_at | string | No | |
user_id | string | No |
OrgRole
Section titled “OrgRole”Type: string. One of owner, admin, billing, member.
Permission
Section titled “Permission”Type: string. One of company:read, company:update, company:delete, integrations:read, integrations:write, operators:read, operators:write, operators:transfer_ownership, billing:read, billing:write, billing:audit_read, invoice:read, invoice:refund_request, transaction:read, audit:read, audit:export, audit:stream.
PersonalAPIToken
Section titled “PersonalAPIToken”| Field | Type | Required | Description |
|---|---|---|---|
allowed_company_ids | array of string | No | |
allowed_permissions | array of Permission | No | |
created_at | string | No | |
expires_at | string | No | |
id | string | No | |
last_used_at | string | No | |
name | string | No | |
prefix | string | No | |
revoked_at | string | No | |
updated_at | string | No | |
user | User | No | |
user_id | string | No |
| Field | Type | Required | Description |
|---|---|---|---|
base_price_annual_cents | integer | No | |
base_price_monthly_cents | integer | No | |
code | string | No | |
created_at | string | No | |
currency | string | No | |
display_name | string | No | |
event_overage_rate_per_1k_cents | integer | No | |
feature_flags | array of integer | No | |
hard_cap | boolean | No | |
id | string | No | |
included_event_units_annual | integer | No | |
included_event_units_monthly | integer | No | |
is_active | boolean | No | |
max_agents | integer | No | |
max_integrations_active | integer | No | |
max_machine_keys | integer | No | |
max_operators | integer | No | |
sla_tier | PlanSLATier | No | |
sla_uptime_percent_e2 | integer | No | |
support_tier | PlanSupportTier | No | |
tier | PlanTier | No | |
updated_at | string | No | |
visibility | PlanVisibility | No |
PlanSLATier
Section titled “PlanSLATier”Type: string. One of none, standard, high, premium, custom.
PlanSupportTier
Section titled “PlanSupportTier”Type: string. One of community, standard, priority, dedicated, named_tam.
PlanTier
Section titled “PlanTier”Type: string. One of free, starter, pro, max, enterprise.
PlanVisibility
Section titled “PlanVisibility”Type: string. One of public, private, internal.
ProvisioningFailure
Section titled “ProvisioningFailure”| Field | Type | Required | Description |
|---|---|---|---|
code | string | No | |
retryable | boolean | No |
ProvisioningStatus
Section titled “ProvisioningStatus”| Field | Type | Required | Description |
|---|---|---|---|
failure | ProvisioningFailure | No | |
slow | boolean | No | Slow turns true when provisioning has taken longer than expected. |
started_at | string | No | |
state | WorkspaceState | No | |
steps | array of ProvisioningStep | No | |
updated_at | string | No | |
workspace_id | string | No |
ProvisioningStep
Section titled “ProvisioningStep”| Field | Type | Required | Description |
|---|---|---|---|
id | ProvisioningStepID | No | |
status | StepStatus | No |
ProvisioningStepID
Section titled “ProvisioningStepID”Type: string. One of reserve, starter, start, ready.
ReconcileStatus
Section titled “ReconcileStatus”| Field | Type | Required | Description |
|---|---|---|---|
action_url | string | No | |
actor | string | No | |
detail | string | No | |
disconnecting | boolean | No | Disconnecting is true from the moment somebody asks for the integration to be taken away, which is before the loop has run and set a phase. Without it the console shows a connected integration for as long as it takes the first pass to start. |
last_attempt_at | string | No | |
last_error | string | No | LastError is why the last pass failed, empty when it did not. |
next_attempt_at | string | No | NextAttemptAt lets the console count down to a real event rather than to a timer of its own. |
outcome | string | No | Outcome is settled, waiting, or blocked. |
phase | string | No | Phase is where the integration got to, and Actor is who has to act for it to move on. Detail and ActionURL are filled only when that actor is a person, and are what the console shows instead of a generic warning. |
settled_at | string | No |
RecordState
Section titled “RecordState”Type: string. One of pending, synced.
RecordStatus
Section titled “RecordStatus”| Field | Type | Required | Description |
|---|---|---|---|
generation | integer | No | Version of the company’s configuration; it increases with every change. |
observed_generation | integer | No | Latest configuration version the workspace has applied. |
state | RecordState | No | pending until the workspace applies the latest version, then synced. |
RecoveryCodesResponse
Section titled “RecoveryCodesResponse”| Field | Type | Required | Description |
|---|---|---|---|
recovery_codes | array of string | No |
ResetPasswordRequest
Section titled “ResetPasswordRequest”| Field | Type | Required | Description |
|---|---|---|---|
password | string | Yes | At least 8 characters. At most 72 characters. |
token | string | Yes | At most 128 characters. |
Type: string. One of owner, admin, member, viewer.
SetDisabledRequest
Section titled “SetDisabledRequest”| Field | Type | Required | Description |
|---|---|---|---|
disabled | boolean | No |
SignUpRequest
Section titled “SignUpRequest”| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | At most 255 characters. |
first_name | string | Yes | At most 50 characters. |
last_name | string | Yes | At most 50 characters. |
password | string | Yes | Bcrypt silently truncates passwords over 72 bytes, so we cap at 72. At least 8 characters. At most 72 characters. |
SlackConnectResponse
Section titled “SlackConnectResponse”| Field | Type | Required | Description |
|---|---|---|---|
authorize_url | string | No |
SlackManagedAppStatus
Section titled “SlackManagedAppStatus”| Field | Type | Required | Description |
|---|---|---|---|
agent_key | string | No | |
last_error | string | No | |
slack_app_id | string | No | |
status | string | No | |
updated_at | string | No |
SlackStatusResponse
Section titled “SlackStatusResponse”| Field | Type | Required | Description |
|---|---|---|---|
available | boolean | No | |
connected | boolean | No | |
connected_at | string | No | |
enterprise_id | string | No | |
has_user_token | boolean | No | |
managed_apps | array of SlackManagedAppStatus | No | |
reconcile | ReconcileStatus | No | Reconcile is what the loop last made of this integration, so the console states whether a provider is still applying something or a person is being waited on. |
scopes | array of string | No | |
status | string | No | |
team_id | string | No | |
team_name | string | No | |
token_expires_at | string | No |
Starter
Section titled “Starter”Type: string. One of software, content, operations, empty.
StepStatus
Section titled “StepStatus”Type: string. One of pending, active, done, failed.
TOTPEnrollmentResponse
Section titled “TOTPEnrollmentResponse”| Field | Type | Required | Description |
|---|---|---|---|
otpauth_uri | string | No | |
secret | string | No |
UpdateCompanyRequest
Section titled “UpdateCompanyRequest”| Field | Type | Required | Description |
|---|---|---|---|
config | array of integer | No | |
name | string | No | At least 1 character. At most 100 characters. |
UpdateMeRequest
Section titled “UpdateMeRequest”| Field | Type | Required | Description |
|---|---|---|---|
avatar_url | string | No | |
first_name | string | No | At least 1 character. At most 50 characters. |
last_name | string | No | At least 1 character. At most 50 characters. |
UpdateOperatorRoleRequest
Section titled “UpdateOperatorRoleRequest”| Field | Type | Required | Description |
|---|---|---|---|
role | Role | Yes |
| Field | Type | Required | Description |
|---|---|---|---|
avatar_url | string | No | |
company | Company | No | Company that owns a machine user, loaded with the row so a user listing can name it without a second query. Always nil on human rows. |
company_id | string | No | Machine users only: the company the machine belongs to and the admin who created it. Unset for humans; never changes. |
created_at | string | No | |
created_by | User | No | The admin who created a machine user, included in machine user listings. Unset for humans. |
created_by_user_id | string | No | |
deleted_at | string | No | When the account was deleted. A deleted account no longer exists; disabled_at instead freezes one that still does. |
description | string | No | Description is the optional free-form blurb shown next to a machine user’s name on the management page (e.g. “deploy bot”, “CI runner”). Empty for humans. At most 500 characters. |
disabled_at | string | No | When the account was disabled; unset while enabled. Every credential it holds (sessions, personal API tokens, machine keys) is refused until it is enabled again, and none is revoked. |
email | string | No | At most 255 characters. |
first_name | string | Yes | At most 100 characters. |
id | string | No | |
is_verified | boolean | No | |
key | MachineOperatorKey | No | The machine user’s most recent key, revoked or expired ones included, in machine user listings. Unset for humans. |
kind | UserKind | No | |
last_name | string | No | At most 50 characters. |
mfa_enabled_at | string | No | |
provider | AuthProvider | No | |
updated_at | string | No |
UserKind
Section titled “UserKind”Type: string. One of human, machine.
WorkspaceState
Section titled “WorkspaceState”Type: string. One of pending, provisioning, ready, suspended, quarantined, deleting, deleted, purged.
WorkspaceSummary
Section titled “WorkspaceSummary”| Field | Type | Required | Description |
|---|---|---|---|
company_id | string | No | |
created_at | string | No | |
display_name | string | No | |
id | string | No | |
organization_id | string | No | |
region | string | No | Region is the jurisdiction the workspace runs in, for example us. |
role | Role | No | Role is the account’s operator role in the company. |
slug | string | No | Slug is the immutable DNS form of the id. |
starter | Starter | No | |
state | WorkspaceState | No | |
trial_ends_at | string | No | |
updated_at | string | No |
Part of Crewlet. Generated from the OpenAPI document of the API, version 0.1.0.