Wenmar Pro Agent Tokens API

Named, revocable agent credentials

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).

Operations 4

GET /agent-tokens Agent tokens list #
POST /agent-tokens Agent tokens create #
DELETE /agent-tokens/{id} Agent tokens revoke #
PATCH /agent-tokens/{id} Agent tokens update #

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/wenmarpro-com:wenmarpro-com-agent-tokens-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

wenmarpro-com-agent-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Named, revocable agent credentials
  license:
    name: ''
  title: Wenmar Agent Tokens API
  version: 0.1.0
tags:
- description: Named, revocable agent credentials
  name: Agent Tokens
paths:
  /agent-tokens:
    get:
      operationId: agent_tokens_list
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  type: object
                type: array
          description: 'your agent tokens (users.manage: the account''s)'
        '401':
          description: unauthenticated
      security:
      - bearer: []
      tags:
      - Agent Tokens
      summary: Agent tokens list
      x-summary-source: derived
    post:
      operationId: agent_tokens_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAgentTokenBody'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
          description: agent token created; `token` is shown only here
        '401':
          description: unauthenticated
        '403':
          description: agent tokens cannot mint agent tokens
        '422':
          description: invalid name, scope, limits or expires_in_days
      security:
      - bearer: []
      tags:
      - Agent Tokens
      summary: Agent tokens create
      x-summary-source: derived
  /agent-tokens/{id}:
    delete:
      operationId: agent_tokens_revoke
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '204':
          description: agent token revoked
        '401':
          description: unauthenticated
        '403':
          description: agent tokens cannot revoke agent tokens
        '404':
          description: no such agent token visible to you
      security:
      - bearer: []
      tags:
      - Agent Tokens
      summary: Agent tokens revoke
      x-summary-source: derived
    patch:
      operationId: agent_tokens_update
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAgentTokenBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
          description: limits replaced; the token as listed
        '401':
          description: unauthenticated
        '403':
          description: agent tokens cannot update agent tokens
        '404':
          description: no such agent token, or no users.manage
        '422':
          description: invalid permission list
      security:
      - bearer: []
      tags:
      - Agent Tokens
      summary: Agent tokens update
      x-summary-source: derived
components:
  schemas:
    UpdateAgentTokenBody:
      description: '`PATCH /agent-tokens/{id}`: replaces every limit. Absent = `NULL` = no

        limit, so an empty body clears them.'
      properties:
        irreversible:
          description: Whether tools that need confirmation may run; absent = yes.
          type:
          - boolean
          - 'null'
        permissions:
          description: Permissions this token is limited to; absent = all the user holds.
          items:
            type: string
          type:
          - array
          - 'null'
        write_budget:
          description: 'This connection''s writes per rolling hour (plan 1482); absent = the

            server''s `[agents] writes_per_hour`.'
          format: int64
          type:
          - integer
          - 'null'
      type: object
    CreateAgentTokenBody:
      properties:
        expires_in_days:
          description: Days until this token stops working, 1 to 365; absent = never.
          format: int64
          type:
          - integer
          - 'null'
        irreversible:
          description: Whether tools that need confirmation may run; absent = yes.
          type:
          - boolean
          - 'null'
        name:
          description: Shown in `GET /agent-tokens`, e.g. "claude".
          type: string
        permissions:
          description: Permissions this token is limited to; absent = all the user holds.
          items:
            type: string
          type:
          - array
          - 'null'
        scope:
          description: '`read` or `write`.'
          type: string
        write_budget:
          description: 'This connection''s writes per rolling hour (plan 1482); absent = the

            server''s `[agents] writes_per_hour`.'
          format: int64
          type:
          - integer
          - 'null'
      required:
      - name
      - scope
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http