Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Terminal Use CLI Authentication API

The CLI Authentication API from Terminal Use — 2 operation(s) for cli authentication.

Terminal Use CLI Authentication API is one of 28 APIs that Terminal Use publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include CLI Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 2 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against the base URL https://api.terminaluse.com.

2 operations 2 paths 6 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.terminaluse.com
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

CLI Authentication 2
POST
/v1/auth/cli/refresh
Refresh Cli Token
refresh_cli_token_v1_auth_cli_refresh_post body → 200422
POST
/v1/auth/cli/token
Exchange Cli Token
exchange_cli_token_v1_auth_cli_token_post body → 200422

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are CLITokenResponse (7 properties), CLIRefreshResponse (3 properties), ValidationError (3 properties), CLITokenRequest (2 properties). Each schema is shown below with its type and property counts.

CLIRefreshRequest
object
Request body for CLI token refresh.
1 property 1 required
HTTPValidationError
object
1 property
ValidationError
object
3 properties 3 required
CLITokenResponse
object
Response for CLI token exchange.
7 properties 2 required
CLIRefreshResponse
object
Response for CLI token refresh.
3 properties 3 required
CLITokenRequest
object
Request body for CLI token exchange with PKCE.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

terminal-use-cli-authentication-api-openapi.yml Raw ↑

Other APIs Terminal Use publishes across the network.

Terminal Use Agent APIKeys API
Terminal Use Agent Task Tracker API
Terminal Use Agents API
Terminal Use API Keys API
Terminal Use Authentication API
Terminal Use Branch Events API
Terminal Use Branches API
Terminal Use Builds API
Terminal Use Environments API
Terminal Use Events API
Terminal Use Filesystems API
Terminal Use Groups API