Glim AI Prompts API

Prompt suggestions

GitHub OpenAPI

Operations 2

POST /v1/projects/{projectId}/custom-prompts Add custom prompts to an onboarded project #
POST /v1/suggest-prompts Suggest prompts from crawl record #

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/seoforgpt-io:seoforgpt-io-prompts-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

seoforgpt-io-prompts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Glim AI Public Prompts API
  version: 1.0.0
  description: 'HTTP API for scripts, CI, and backends used by the Glim AI MCP server. Hosted remote MCP and local stdio clients both call this surface. Authenticate with `Authorization: Bearer` using a Supabase session JWT, a user API key (`sgpt_...`), or an OAuth-managed connector key issued by hosted MCP (same header; those keys are hidden from the Settings UI). API key management (`/v1/keys`) requires a JWT. Base path is `/v1` under the deployed host. Versioning and deprecation policy: https://tryglim.ai/api-versioning-policy.md'
  contact:
    email: miguel@tryglim.ai
servers:
- url: https://tryglim.ai/api
  description: Production (Netlify rewrite to Supabase Edge Function)
tags:
- name: Prompts
  description: Prompt suggestions
paths:
  /v1/projects/{projectId}/custom-prompts:
    post:
      operationId: addCustomPrompts
      summary: Add custom prompts to an onboarded project
      description: Adds prompts to the latest saved visibility test. This route never creates the first project or bypasses onboarding. Set testNow=true to queue background testing of only the added prompts.
      tags:
      - Prompts
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - prompts
              properties:
                prompts:
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: object
                    required:
                    - prompt
                    properties:
                      prompt:
                        type: string
                        minLength: 1
                        maxLength: 500
                      category:
                        type: string
                        maxLength: 100
                        default: CUSTOM
                testNow:
                  type: boolean
                  default: false
      responses:
        '200':
          description: Prompts saved
        '202':
          description: Prompts saved and background testing queued
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
        default:
          $ref: '#/components/responses/UnexpectedError'
  /v1/suggest-prompts:
    post:
      operationId: suggestPrompts
      summary: Suggest prompts from crawl record
      tags:
      - Prompts
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - crawlRecordId
              properties:
                crawlRecordId:
                  type: string
                  format: uuid
                projectId:
                  type: string
                  format: uuid
                brand:
                  type: string
                competitors:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuggestPromptsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
        default:
          $ref: '#/components/responses/UnexpectedError'
components:
  responses:
    PaymentRequired:
      description: Billing or quota gate
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: Missing or invalid bearer token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    UnexpectedError:
      description: Any documented or unexpected 4xx or 5xx response uses the same typed error envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: Server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limit exceeded. Responses include the current IETF `RateLimit` and `RateLimit-Policy` structured fields, compatibility `RateLimit-*` and `X-RateLimit-*` fields, and `Retry-After` on 429.
      headers:
        Retry-After:
          schema:
            type: string
          description: Seconds until reset
        RateLimit:
          schema:
            type: string
          description: Current service limit, for example `"default";r=0;t=30`
        RateLimit-Policy:
          schema:
            type: string
          description: Evaluated quota policy, for example `"default";q=10;w=60`
        RateLimit-Limit:
          schema:
            type: string
          description: Maximum requests in the evaluated window
        RateLimit-Remaining:
          schema:
            type: string
          description: Requests remaining in the evaluated window
        RateLimit-Reset:
          schema:
            type: string
          description: Seconds until reset
        X-RateLimit-Limit:
          schema:
            type: string
        X-RateLimit-Remaining:
          schema:
            type: string
        X-RateLimit-Reset:
          schema:
            type: string
          description: Unix timestamp
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Conflict:
      description: Conflict (e.g. API key limit)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    BadRequest:
      description: Invalid input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    SuggestPromptsResponse:
      type: object
      properties:
        data:
          type: object
          additionalProperties: true
        meta:
          $ref: '#/components/schemas/BillingMeta'
    ApiError:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - request_id
          properties:
            code:
              type: string
              example: RATE_LIMITED
            message:
              type: string
            details: {}
            request_id:
              type: string
              format: uuid
    BillingMeta:
      type: object
      description: Plan and quota snapshot (shape may evolve)
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or API key
      description: 'Send `Authorization: Bearer <token>`. Use a Supabase access token, a user API key (`sgpt_...`), or an expiring workspace-scoped agency partner key (`sgpt_partner_...`). Key management routes require a user session JWT; partner-key management also requires agency ownership.'
externalDocs:
  description: API versioning and deprecation policy
  url: https://tryglim.ai/api-versioning-policy.md
x-versioning-policy:
  strategy: URL major version
  current: v1
  deprecation: RFC 9745 Deprecation and deprecation Link headers
  sunset: RFC 8594 Sunset header when retirement is scheduled
  notice: 12 months targeted
  url: https://tryglim.ai/api-versioning-policy.md