# PyAI Identity API

**Canonical:** https://apis.io/apis/pyai-com/pyai-com-identity-api/  
**Provider:** PyAI — https://apis.io/providers/pyai-com/  
**Base URL:** https://api.pyai.com  
**Documentation:** https://docs.pyai.com/api-reference

PyAI Identity API is one of 23 APIs that [PyAI](https://apis.io/providers/pyai-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Identity. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

Introspect the calling key: org/project, env, granted scopes, and limits/credit posture. Use it to self-diagnose a 401/403/402.

## Operations (11)

| Method | Path | Summary |
|---|---|---|
| POST | `/auth/cli/device` | Start browser login for the CLI |
| GET | `/auth/cli/device` | Review a CLI login request |
| POST | `/auth/cli/device/approve` | Approve CLI access to a project |
| POST | `/auth/cli/device/deny` | Deny a CLI login request |
| POST | `/auth/cli/device/token` | Poll and exchange an approved CLI login |
| POST | `/v1/managed-tenants` | Provision an isolated managed workspace |
| PATCH | `/v1/managed-tenants` | Enable knowledge for one enrolled workspace |
| GET | `/v1/managed-tenants` | Recover one managed workspace by its exact external reference |
| POST | `/auth/signup` | Create an account and organization |
| POST | `/v1/me/artifacts` | Report a saved Pipecat starter artifact |
| GET | `/v1/me` | Introspect the calling key (whoami) |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/pyai-com/openapi/pyai-com-identity-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/pyai-com/json-schema/pyai-com-identity-schema.json

## Other PyAI APIs (12)

- [PyAI Agents API](https://apis.io/apis/pyai-com/pyai-com-agents-api/)
- [PyAI AMD API](https://apis.io/apis/pyai-com/pyai-com-amd-api/)
- [PyAI Call Integrations API](https://apis.io/apis/pyai-com/pyai-com-call-integrations-api/)
- [PyAI Cast API](https://apis.io/apis/pyai-com/pyai-com-cast-api/)
- [PyAI Clone API](https://apis.io/apis/pyai-com/pyai-com-clone-api/)
- [PyAI Console creations API](https://apis.io/apis/pyai-com/pyai-com-console-creations-api/)
- [PyAI Dub API](https://apis.io/apis/pyai-com/pyai-com-dub-api/)
- [PyAI Integrations API](https://apis.io/apis/pyai-com/pyai-com-integrations-api/)
- [PyAI Interpretation API](https://apis.io/apis/pyai-com/pyai-com-interpretation-api/)
- [PyAI Knowledge Bases API](https://apis.io/apis/pyai-com/pyai-com-knowledge-bases-api/)
- [PyAI MCP API](https://apis.io/apis/pyai-com/pyai-com-mcp-api/)
- [PyAI Models API](https://apis.io/apis/pyai-com/pyai-com-models-api/)

## Tags

Identity

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pyai-com` 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/pyai-com/pyai-com-identity-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pyai-com/.
