Pineprompt Me API
Inspect the API key and the active organization, together with the abilities the key currently holds and the projects it may act in.
Inspect the API key and the active organization, together with the abilities the key currently holds and the projects it may act in.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pineprompt-com:pineprompt-com-me-api"
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.
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: 3.2.0
info:
title: Pineprompt Me API
description: 'The Pineprompt REST API gives you programmatic access to everything Pineprompt monitors on your behalf: how ChatGPT, Gemini, Claude, Google AI Overview, and Google AI Mode answer questions about your brand. Grok is listed but temporarily unavailable.'
contact:
name: Pineprompt Support
email: support@pineprompt.com
version: 1.0.0
servers:
- url: https://pineprompt.com
description: Production
tags:
- name: Me
description: Inspect the API key and the active organization, together with the abilities the key currently holds and the projects it may act in.
x-title: Me
x-objects:
- Me
paths:
/api/v1/me:
get:
tags:
- Me
summary: Get the authenticated principal
description: Returns the API key presented on the request, together with the active organization, the abilities currently in effect, and the projects you may act in.
operationId: get-me
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Me'
'401':
description: Unauthorized
x-auto-injected: true
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
example:
message: Unauthenticated.
security:
- BearerToken: []
x-codeSamples:
- lang: bash
label: cURL
source: "curl -X GET https://pineprompt.com/api/v1/me \\\n -H \"Authorization: Bearer $PINEPROMPT_TOKEN\""
- lang: javascript
label: JavaScript (fetch)
source: "const response = await fetch(\"https://pineprompt.com/api/v1/me\", {\n method: \"GET\",\n headers: {\n \"Authorization\": `Bearer ${process.env.PINEPROMPT_TOKEN}`,\n },\n});\n\nif (!response.ok) throw new Error(`Request failed: ${response.status}`);\n\nconst payload = await response.json();"
- lang: python
label: Python (requests)
source: "import os\nimport requests\n\nresponse = requests.get(\n \"https://pineprompt.com/api/v1/me\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['PINEPROMPT_TOKEN']}\",\n },\n)\n\nresponse.raise_for_status()\npayload = response.json()"
- lang: php
label: PHP (Guzzle)
source: "use GuzzleHttp\\Client;\n\n$response = (new Client())->get('https://pineprompt.com/api/v1/me', [\n 'headers' => [\n 'Authorization' => 'Bearer '.getenv('PINEPROMPT_TOKEN'),\n ],\n]);\n\n// Guzzle throws on 4xx/5xx by default, so no manual check needed.\n$payload = json_decode((string) $response->getBody(), true);"
components:
schemas:
Me:
title: The authenticated principal
description: 'The authenticated principal behind the current request: the API key presented, the abilities it carries, and the organization and projects it may reach.'
properties:
organization:
description: The active organization the API key is bound to.
allOf:
- $ref: '#/components/schemas/Organization'
abilities:
description: The abilities currently in effect for the request, taken from the API key itself.
type: array
items:
type: string
example:
- organization:read
- monitors:read
- monitors:write
projects:
description: The projects in the active organization that the caller may act in.
type: array
items:
$ref: '#/components/schemas/Project'
api_key:
description: Metadata describing the API key used on the request.
allOf:
- $ref: '#/components/schemas/ApiKeyMetadata'
type: object
Project:
title: The project object
description: A project represents a single brand or site you monitor. Its `brand_id` names the own brand, the brand every core metric is computed for.
properties:
id:
description: The unique ID of the project.
type: integer
example: 42
organization_id:
description: The ID of the organization that owns the project.
type: integer
example: 7
name:
description: The display name of the project.
type: string
example: Acme Marketing
brand_id:
description: The ID of the project's own brand, or null while none has been designated.
type:
- integer
- 'null'
example: 555
organization:
description: The parent organization. Returned when requested via `include=organization`.
allOf:
- $ref: '#/components/schemas/Organization'
x-relation: include
created_at:
description: When the project was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the project was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
ErrorEnvelope:
properties:
message:
type: string
type: object
ApiKeyMetadata:
title: API key metadata
properties:
id:
description: The unique ID of the API key.
type: integer
example: 84
name:
description: The label you gave the key when you created it.
type: string
example: CI pipeline
last_used_at:
description: When the key was last used to authenticate a request, or `null` when it has not yet been used.
type:
- string
- 'null'
format: date-time
example: '2026-05-15T09:11:42+00:00'
created_at:
description: When the key was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
Organization:
title: The organization object
description: An organization is the top-level billing entity and tenant boundary in Pineprompt. Every project, member, and API key belongs to exactly one organization.
properties:
id:
description: The unique ID of the organization.
type: integer
example: 7
name:
description: The display name of the organization.
type: string
example: Acme Inc.
plan:
description: The key of the active plan, or null when the organization has no active subscription (including a past-due one). Without an active plan, daily monitor runs and write operations are unavailable.
type:
- string
- 'null'
example: pro
billing_url:
description: The billing page where the organization owner can choose a plan or fix a failed payment. Only set when the organization has no active plan and the request is made in the owner membership context (MCP organization tools); always null over the REST API.
type:
- string
- 'null'
format: uri
example: https://pineprompt.io/settings/organizations/7/billing
created_at:
description: When the organization was created.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
updated_at:
description: When the organization was last updated.
type: string
format: date-time
example: '2026-05-15T09:11:42+00:00'
type: object
securitySchemes:
BearerToken:
type: http
description: An API key bound to a single organization.
bearerFormat: Pineprompt API Key
scheme: bearer