Portless®← Home

Getting started

Authentication

API keys, the Authorization header and agent attribution.

API keys

Every request to the gateway, REST or MCP, carries an API key from Dashboard → API keys. Keys look like pl_live_ followed by 32 random characters and belong to one workspace.

Header
Authorization: Bearer pl_live_…

Check a key

GET /api/v1/me tells you which workspace and key a request authenticated as. It's a good first call in a new integration.

curl
curl https://www.initpbj.dev/api/v1/me -H "Authorization: Bearer $PORTLESS_API_KEY"

{ "workspace": "Personal", "key": { "id": "…", "name": "CI" }, "agentId": null }

Agent attribution

Create agents in Dashboard → Agents, then say which agent is calling. Activity and the overview charts break calls down by agent.

Keeping keys safe

Leaked a key?

Revoke it in Dashboard → API keys right away, then create a new one. Revoked keys stop working immediately.

Error responses for authentication are listed in Errors.

Status · Building

Coming soon

We're putting the finishing touches on Portless®. Follow along on X to hear the moment it's ready.