Daytona Organizations API

The organizations API from Daytona — 30 operation(s) for organizations.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
SaaS Tenant Management BC-4230

Operations 47

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /organizations/invitations List organization invitations I have received · List organization invitations for authenticated user #
Ask an LLM
“Which organizations have invited me to join?”
“How do I see my pending organization invitations?”
Tell an agent
List the organization invitations I've been sent.
Show every pending organization invite on my account.
GET /organizations/invitations/count Count my pending organization invitations · Get count of organization invitations for authenticated user #
Ask an LLM
“How many organization invitations am I waiting on?”
“What is the number of pending org invites I have?”
Tell an agent
Count my pending organization invitations.
Tell me how many organization invites I have yet to accept.
POST /organizations/invitations/{invitationId}/accept Accept an organization invitation · Accept organization invitation #
Ask an LLM
“How do I join an organization that invited me?”
“Can I accept an organization invitation by its ID?”
Tell an agent
Accept organization invitation {invitationId}.
Join the organization that invited me with invite {invitationId}.
POST /organizations/invitations/{invitationId}/decline Decline an organization invitation · Decline organization invitation #
Ask an LLM
“Can I turn down an organization invitation?”
“What happens if I decline an organization invite?”
Tell an agent
Decline organization invitation {invitationId}.
Turn down the organization invite {invitationId}.
GET /organizations List the organizations I belong to · List organizations #
Ask an LLM
“Which organizations am I a member of?”
“What organization accounts do I have access to?”
Tell an agent
List the organizations I belong to.
Show every organization account I'm part of.
POST /organizations Create an organization · Create organization #
Ask an LLM
“How do I create a new organization?”
“What do I need to set up a new organization, like a default region?”
Tell an agent
Create an organization named {name} with default region {defaultRegionId}.
Set up a new organization {name} in region {defaultRegionId}.
PATCH /organizations/{organizationId}/default-region Set an organization's default region · Set default region for organization #
Ask an LLM
“How do I change which region new workspaces are created in for an organization?”
“Can I set a default region on an organization?”
Tell an agent
Set the default region of organization {organizationId} to {defaultRegionId}.
Make {defaultRegionId} the default region for organization {organizationId}.
PATCH /organizations/{organizationId}/default-queue-timeout Set an organization's default sandbox queue timeout · Set organization default queue timeout #
Ask an LLM
“How long does a new sandbox wait before the creation is cancelled?”
“Can I change the default queue timeout for an organization?”
Tell an agent
Set the default queue timeout for organization {organizationId} to {defaultQueueTimeout} minutes.
Make {defaultQueueTimeout} minutes the default sandbox queue timeout for organization {organizationId}.
DELETE /organizations/{organizationId} Delete an organization · Delete organization #
Ask an LLM
“How do I delete an organization?”
“Can I remove an organization account entirely?”
Tell an agent destructive · confirm first
Delete organization {organizationId}.
Remove organization {organizationId} from my account.
GET /organizations/{organizationId} Get an organization · Get organization by ID #
Ask an LLM
“What are the details of an organization?”
“Can I look up an organization by its ID?”
Tell an agent
Get organization {organizationId}.
Show the details of organization {organizationId}.
GET /organizations/{organizationId}/usage Get an organization's current usage overview · Get organization current usage overview #
Ask an LLM
“How much has my organization used so far?”
“What does the current usage overview of an organization show?”
Tell an agent
Get the current usage overview for organization {organizationId}.
Show how much organization {organizationId} has used so far.
GET /organizations/{organizationId}/available-sandbox-classes List sandbox classes available to an organization · List available sandbox classes for organization #
Ask an LLM
“Which sandbox classes can my organization choose from?”
“What sandbox types are available to an organization?”
Tell an agent
List the available sandbox classes for organization {organizationId}.
Show which sandbox classes organization {organizationId} can use.
POST /organizations/{organizationId}/leave Leave an organization · Leave organization #
Ask an LLM
“How do I leave an organization I no longer need?”
“Can I exit an organization account?”
Tell an agent destructive · confirm first
Leave organization {organizationId}.
Exit the organization {organizationId} I'm a member of.
GET /organizations/otel-config/by-sandbox-auth-token/{authToken} Get an organization's OTEL config from a sandbox token · Get organization OTEL config by sandbox auth token #
Ask an LLM
“Can I fetch an organization's OpenTelemetry config using a sandbox auth token?”
“Which organization does a sandbox auth token belong to?”
Tell an agent
Get the OTEL config for the organization behind sandbox auth token {authToken}.
Look up which organization sandbox token {authToken} belongs to.
GET /organizations/sandbox-identity/by-sandbox-auth-token/{authToken} Get a sandbox's identity from its auth token · Get sandbox identity by sandbox auth token #
Ask an LLM
“What identity does a sandbox auth token carry?”
“Can I resolve a sandbox auth token to a user identity?”
Tell an agent
Get the sandbox identity for auth token {authToken}.
Resolve sandbox auth token {authToken} to its identity.
DELETE /organizations/{organizationId}/otel-config Delete an organization's OpenTelemetry config · Delete organization OpenTelemetry configuration #
Ask an LLM
“How do I remove the OpenTelemetry config from an organization?”
“Can I clear an organization's OTEL endpoint?”
Tell an agent destructive · confirm first
Delete the OpenTelemetry config for organization {organizationId}.
Remove the OTEL endpoint from organization {organizationId}.
GET /organizations/{organizationId}/otel-config Get an organization's OpenTelemetry config · Get organization OTEL config by organization ID #
Ask an LLM
“What OpenTelemetry endpoint and headers does an organization use?”
“Can I read an organization's OTEL config by ID?”
Tell an agent
Get the OpenTelemetry config for organization {organizationId}.
Show the OTEL endpoint and headers for organization {organizationId}.
PUT /organizations/{organizationId}/otel-config Update an organization's OpenTelemetry config · Update organization OpenTelemetry configuration #
Ask an LLM
“How do I change the OpenTelemetry endpoint an organization sends to?”
“Can I update the OTEL headers on an organization?”
Tell an agent
Update the OpenTelemetry config of organization {organizationId} to endpoint {endpoint}.
Set organization {organizationId}'s OTEL endpoint to {endpoint} with headers {headers}.
PUT /organizations/{organizationId}/experimental-config Update an organization's experimental config · Update experimental configuration #
Ask an LLM
“Can I change the experimental configuration of an organization?”
“What experimental settings can I update on an organization?”
Tell an agent
Update the experimental configuration of organization {organizationId}.
Change the experimental settings on organization {organizationId}.
GET /organizations/{organizationId}/roles List roles in an organization · List organization roles #
Ask an LLM
“What roles exist in an organization?”
“Who has which roles in an organization?”
Tell an agent
List the roles in organization {organizationId}.
Show who holds which role in organization {organizationId}.
POST /organizations/{organizationId}/roles Create a role in an organization · Create organization role #
Ask an LLM
“How do I create a new role with specific permissions in my organization?”
“Can I give a role a description when I create it?”
Tell an agent
Create a role named {name} in organization {organizationId} with permissions {permissions} and description {description}.
Add role {name} to organization {organizationId} described as {description} and assigned {permissions}.
DELETE /organizations/{organizationId}/roles/{roleId} Delete an organization role · Delete organization role #
Ask an LLM
“How do I remove a role from my organization?”
“Can I delete a role that no one holds anymore?”
Tell an agent destructive · confirm first
Delete role {roleId} from organization {organizationId}.
Remove the {roleId} role in {organizationId}.
PUT /organizations/{organizationId}/roles/{roleId} Update an existing organization role · Update organization role #
Ask an LLM
“Can I change the permissions on a role I already created?”
“Is it possible to rename an existing organization role?”
Tell an agent
Update role {roleId} in organization {organizationId} to permissions {permissions}, name {name}, description {description}.
Rename existing role {roleId} in {organizationId} to {name} with permissions {permissions} and description {description}.
GET /organizations/{organizationId}/users List members of an organization · List organization members #
Ask an LLM
“Who are the members of my organization?”
“Can I see every user in my organization?”
Tell an agent
List the members of organization {organizationId}.
Show everyone in organization {organizationId}.
POST /organizations/{organizationId}/users/{userId}/access Change a member's role in an organization · Update access for organization member #
Ask an LLM
“How do I give a user a different role in my organization?”
“Can I assign several roles to one organization member?”
Tell an agent
Assign roles {assignedRoleIds} to user {userId} in organization {organizationId} with role {role}.
Change the role of user {userId} in {organizationId} to {role}, giving them roles {assignedRoleIds}.
DELETE /organizations/{organizationId}/users/{userId} Remove a member from an organization · Delete organization member #
Ask an LLM
“How do I remove a user from my organization?”
“Can I delete an organization member by their user ID?”
Tell an agent destructive · confirm first
Remove user {userId} from organization {organizationId}.
Delete member {userId} in {organizationId}.
GET /organizations/{organizationId}/invitations List pending organization invitations · List pending organization invitations #
Ask an LLM
“Which invitations to my organization are still pending?”
“Can I see who has been invited but not accepted yet?”
Tell an agent
List pending invitations for organization {organizationId}.
Show the pending invites to organization {organizationId}.
POST /organizations/{organizationId}/invitations Invite a user to an organization · Create organization invitation #
Ask an LLM
“How do I invite someone to join my organization?”
“Can I set an expiry date on an organization invitation?”
Tell an agent
Invite {email} to organization {organizationId} with role {role} and assigned roles {assignedRoleIds}.
Send an invitation to {email} for organization {organizationId} that expires at {expiresAt}, giving them role {role} and roles {assignedRoleIds}.
PUT /organizations/{organizationId}/invitations/{invitationId} Update an existing organization invitation · Update organization invitation #
Ask an LLM
“Can I change the role or expiry of an invitation that hasn't been accepted yet?”
“Is it possible to extend the expiry of a pending organization invitation?”
Tell an agent
Update invitation {invitationId} in organization {organizationId} to role {role} with assigned roles {assignedRoleIds}.
Change the expiry of pending invitation {invitationId} in {organizationId} to {expiresAt}, keeping role {role} and roles {assignedRoleIds}.
POST /organizations/{organizationId}/invitations/{invitationId}/cancel Cancel an organization invitation · Cancel organization invitation #
Ask an LLM
“How do I withdraw an invitation I sent to someone?”
“Can I cancel a pending organization invitation?”
Tell an agent destructive · confirm first
Cancel invitation {invitationId} in organization {organizationId}.
Withdraw the pending invite {invitationId} to organization {organizationId}.
GET /regions List regions available to the organization · List all available regions for the organization #
Ask an LLM
“Which regions can I create sandboxes in?”
“What regions are available to my organization?”
Tell an agent
List the regions available to organization {organizationId}.
Show every region I can use for sandboxes.
POST /regions Create a new region · Create a new region #
Ask an LLM
“How do I add a new region with its own proxy and SSH gateway?”
“Can I set an OTel endpoint when creating a region?”
Tell an agent
Create a region named {name} with proxy {proxyUrl} and SSH gateway {sshGatewayUrl}.
Add region {name} to organization {organizationId} with OTel endpoint {otelEndpoint}.
DELETE /regions/{id} Delete a region · Delete a region #
Ask an LLM
“How do I remove a region from my organization?”
“Can I delete a region I no longer use?”
Tell an agent destructive · confirm first
Delete region {id}.
Remove region {id} from organization {organizationId}.
GET /regions/{id} Get a region's configuration · Get region by ID #
Ask an LLM
“What proxy and SSH gateway URLs does a region have?”
“Can I look up one region by its ID?”
Tell an agent
Get region {id}.
Show the configuration of region {id}.
PATCH /regions/{id} Update a region's configuration · Update region configuration #
Ask an LLM
“Can I change the proxy URL on an existing region?”
“Is it possible to rotate the SSH gateway API key for a region?”
Tell an agent
Update region {id} to use proxy {proxyUrl}.
Set the SSH gateway URL of region {id} to {sshGatewayUrl}.
POST /regions/{id}/regenerate-proxy-api-key Regenerate a region's proxy API key · Regenerate proxy API key for a region #
Ask an LLM
“How do I rotate the API key used to connect to a region's proxy?”
“Can I generate a new proxy key for a region?”
Tell an agent
Regenerate the proxy API key for region {id}.
Rotate the proxy key on region {id}.
POST /regions/{id}/regenerate-ssh-gateway-api-key Regenerate a region's SSH gateway API key · Regenerate SSH gateway API key for a region #
Ask an LLM
“How do I rotate the API key for a region's SSH gateway?”
“Can I issue a new SSH gateway key for a region?”
Tell an agent
Regenerate the SSH gateway API key for region {id}.
Rotate the SSH gateway key on region {id}.
POST /regions/{id}/regenerate-snapshot-manager-credentials Regenerate a region's snapshot manager credentials · Regenerate snapshot manager credentials for a region #
Ask an LLM
“How do I rotate the credentials used to access a region's snapshot manager?”
“Can I generate new snapshot manager credentials for a region?”
Tell an agent
Regenerate the snapshot manager credentials for region {id}.
Rotate the snapshot manager credentials on region {id}.
GET /organizations/{organizationId}/identity-providers/workos-sso-connections List SSO connections in WorkOS · List the SSO connections configured for the organization in WorkOS #
Ask an LLM
“Which single sign-on connections are configured in WorkOS for my organization?”
“Can I see my WorkOS SSO connections?”
Tell an agent
List the SSO connections configured in WorkOS for organization {organizationId}.
Show my WorkOS single sign-on connections.
GET /organizations/{organizationId}/identity-providers List an organization's SSO identity providers · List organization identity providers #
Ask an LLM
“Which SSO identity providers are configured for my organization?”
“Can I see the OIDC providers set up for single sign-on?”
Tell an agent
List the identity providers for organization {organizationId}.
Show SSO identity providers configured in {organizationId}.
POST /organizations/{organizationId}/identity-providers Add an SSO identity provider · Create organization identity provider #
Ask an LLM
“How do I let my team sign in to Daytona with their work email?”
“Can I restrict SSO logins to certain email domains?”
Tell an agent
Create identity provider {name} in organization {organizationId} with OIDC config {oidcConfig} and email domains {emailDomains}.
Add SSO provider {name} to {organizationId} allowing any domain: {allowAnyDomain}.
DELETE /organizations/{organizationId}/identity-providers/{id} Remove an organization identity provider · Delete organization identity provider #
Ask an LLM
“How do I stop using an SSO identity provider?”
“Can I delete an OIDC provider from my organization?”
Tell an agent destructive · confirm first
Delete identity provider {id} from organization {organizationId}.
Remove SSO provider {id} in {organizationId}.
GET /organizations/{organizationId}/identity-providers/{id} Get an organization identity provider · Get organization identity provider #
Ask an LLM
“What OIDC settings does one of my identity providers have?”
“Can I look up a single SSO provider by ID?”
Tell an agent
Get identity provider {id} in organization {organizationId}.
Show the OIDC config of SSO provider {id} for {organizationId}.
PATCH /organizations/{organizationId}/identity-providers/{id} Update an organization identity provider · Update organization identity provider #
Ask an LLM
“Can I change the OIDC issuer URL of an existing SSO provider?”
“Is it possible to disable an identity provider without deleting it?”
Tell an agent
Update identity provider {id} in {organizationId} with OIDC config {oidcConfig}.
Set enabled to {enabled} on SSO provider {id} in {organizationId}.
POST /organizations/{organizationId}/identity-providers/test-connection Test an OIDC identity provider connection · Test OIDC identity provider connection #
Ask an LLM
“Can I check that an OIDC issuer URL works before saving it as an identity provider?”
“What does a connection test for an SSO provider return?”
Tell an agent
Test the OIDC connection to issuer {issuerUrl} for organization {organizationId}.
Verify the OIDC provider at {issuerUrl} can be reached from {organizationId}.
GET /organizations/{organizationId}/gpu-capacity Check shared GPU capacity · Get shared GPU capacity #
Ask an LLM
“How many shared GPUs are available to my organization right now?”
“Is GPU capacity quota-aware or does it include the shared fleet?”
Tell an agent
Get shared GPU capacity for organization {organizationId}.
Show the current shared GPU fleet usage in {organizationId}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/daytona-io:daytona-io-organizations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

daytona-io-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@daytona.com
    name: Daytona Platforms Inc.
    url: https://www.daytona.io
  description: Daytona AI platform API Docs
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  title: Daytona Organizations API
  version: '1.0'
servers:
- url: http://localhost:3000
tags:


# --- truncated at 32 KB (85 KB total) ---
# Full source: https://artifacts.apis.io/daytona-io/openapi/daytona-io-organizations-api-openapi.yml