# Shardflux Tool tokens API

**Canonical:** https://apis.io/apis/shardflux-dev/shardflux-dev-tool-tokens-api/  
**Provider:** Shardflux — https://apis.io/providers/shardflux-dev/  
**Base URL:** https://api.shardflux.dev  
**Documentation:** https://docs.shardflux.dev/reference/http-api.md

Shardflux Tool tokens API is one of 18 APIs that [Shardflux](https://apis.io/providers/shardflux-dev/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Tool tokens. The published artifact set on APIs.io includes an OpenAPI specification.

Short-lived tokens for the workspace tools (exec, PTY, files, git, browser) served at the workspace’s cell_endpoint, and agent sessions.

## Operations (2)

| Method | Path | Summary |
|---|---|---|
| POST | `/v1/workspaces/{workspace_id}/tool-tokens` | Issue a workspace tool token (ES256, <= 15 min) for the cell gateway |
| GET | `/v1/workspaces/{workspace_id}/agent-sessions` | List the attributed agent sessions of a workspace |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/shardflux-dev/openapi/shardflux-dev-tool-tokens-api-openapi.yml

## Other Shardflux APIs (12)

- [Shardflux Billing API](https://apis.io/apis/shardflux-dev/shardflux-dev-billing-api/)
- [Shardflux Browser profiles API](https://apis.io/apis/shardflux-dev/shardflux-dev-browser-profiles-api/)
- [Shardflux Client versions API](https://apis.io/apis/shardflux-dev/shardflux-dev-client-versions-api/)
- [Shardflux Egress policy API](https://apis.io/apis/shardflux-dev/shardflux-dev-egress-policy-api/)
- [Shardflux Entitlements API](https://apis.io/apis/shardflux-dev/shardflux-dev-entitlements-api/)
- [Shardflux Feedback API](https://apis.io/apis/shardflux-dev/shardflux-dev-feedback-api/)
- [Shardflux Operations API](https://apis.io/apis/shardflux-dev/shardflux-dev-operations-api/)
- [Shardflux Organizations API](https://apis.io/apis/shardflux-dev/shardflux-dev-organizations-api/)
- [Shardflux Principal API](https://apis.io/apis/shardflux-dev/shardflux-dev-principal-api/)
- [Shardflux Projects API](https://apis.io/apis/shardflux-dev/shardflux-dev-projects-api/)
- [Shardflux Secrets API](https://apis.io/apis/shardflux-dev/shardflux-dev-secrets-api/)
- [Shardflux Template builds API](https://apis.io/apis/shardflux-dev/shardflux-dev-template-builds-api/)

## Tags

Tool tokens

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/shardflux-dev` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/shardflux-dev/shardflux-dev-tool-tokens-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/shardflux-dev/.
