Glim AI Readiness API

Website LLM readiness

GitHub OpenAPI

Operations 4

POST /v1/readiness Run website LLM readiness check #
GET /v1/projects/{projectId}/readiness/latest Read the latest website assessment displayed in Glim AI #
GET /v1/projects/{projectId}/readiness/assessments/{assessmentId} Read a saved website assessment #
GET /v1/projects/{projectId}/readiness/sitemap/urls List URLs in the current sitemap inventory #

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-readiness-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-readiness-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Glim AI Public Readiness 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: Readiness
  description: Website LLM readiness
paths:
  /v1/readiness:
    post:
      operationId: checkReadiness
      summary: Run website LLM readiness check
      tags:
      - Readiness
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - projectId
              properties:
                projectId:
                  type: string
                  format: uuid
                forceRerun:
                  type: boolean
                async:
                  type: boolean
                jobId:
                  type: string
                  format: uuid
                url:
                  type: string
                  description: Optional URL override
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadinessResponse'
        '202':
          description: Generating
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadinessResponse'
        '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'
  /v1/projects/{projectId}/readiness/latest:
    get:
      operationId: getLatestReadiness
      summary: Read the latest website assessment displayed in Glim AI
      tags:
      - Readiness
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedReadinessResponse'
        default:
          $ref: '#/components/responses/UnexpectedError'
  /v1/projects/{projectId}/readiness/assessments/{assessmentId}:
    get:
      operationId: getReadinessAssessment
      summary: Read a saved website assessment
      tags:
      - Readiness
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: assessmentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedReadinessResponse'
        default:
          $ref: '#/components/responses/UnexpectedError'
  /v1/projects/{projectId}/readiness/sitemap/urls:
    get:
      operationId: listSitemapUrls
      summary: List URLs in the current sitemap inventory
      tags:
      - Readiness
      security:
      - bearerAuth: []
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 25
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
      - name: issue
        in: query
        required: false
        schema:
          type: string
      - name: url_type
        in: query
        required: false
        schema:
          type: string
      - name: live_check_status
        in: query
        required: false
        schema:
          type: string
      - name: indexability_status
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SitemapInventoryResponse'
        '416':
          $ref: '#/components/responses/UnexpectedError'
        default:
          $ref: '#/components/responses/UnexpectedError'
components:
  responses:
    Unauthorized:
      description: Missing or invalid bearer token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    PaymentRequired:
      description: Billing or quota gate
      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'
    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'
    BadRequest:
      description: Invalid input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  schemas:
    SitemapInventoryResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            source_assessment_id:
              type:
              - string
              - 'null'
              format: uuid
            limit:
              type: integer
            offset:
              type: integer
            next_offset:
              type:
              - integer
              - 'null'
            items:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  url:
                    type: string
                  url_type:
                    type: string
                  host:
                    type: string
                  source_sitemap_url:
                    type:
                    - string
                    - 'null'
                  lastmod:
                    type:
                    - string
                    - 'null'
                  issue_codes:
                    type: array
                    items:
                      type: string
                  status_code:
                    type:
                    - integer
                    - 'null'
                  final_url:
                    type:
                    - string
                    - 'null'
                  canonical_url:
                    type:
                    - string
                    - 'null'
                  indexability_status:
                    type:
                    - string
                    - 'null'
                  live_check_status:
                    type: string
                  last_checked_at:
                    type:
                    - string
                    - 'null'
        meta:
          type: object
          additionalProperties: true
    SavedReadinessResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
              format: uuid
            project_id:
              type: string
              format: uuid
            assessed_url:
              type: string
            created_at:
              type: string
              format: date-time
            updated_at:
              type: string
              format: date-time
            score:
              type:
              - number
              - 'null'
            score_provisional:
              type: boolean
            readiness_status:
              type: string
              enum:
              - blocked
              - ready
              - needs_attention
              - unavailable
            platform:
              type:
              - string
              - 'null'
            platform_confidence:
              type:
              - number
              - 'null'
            section_scores:
              type: object
              additionalProperties: true
            checks:
              type: object
              additionalProperties:
                type: object
                properties:
                  name:
                    type: string
                  passed:
                    type: boolean
                  priority:
                    type: string
                  evidence:
                    type: string
                  outcome:
                    type: string
                  check_details:
                    type: object
                    properties:
                      tested:
                        type: string
                      found:
                        type: string
                      missing:
                        type: string
                      examples:
                        type: array
                        items:
                          type: string
                      counts:
                        type: object
                        additionalProperties: true
            counts:
              type: object
              additionalProperties: true
            findings:
              type: array
              items:
                type: object
                additionalProperties: true
            recommendations:
              type: array
              items:
                type: object
                additionalProperties: true
            business_outcome:
              type: string
            readiness_pillars:
              type: array
              items:
                type: object
                additionalProperties: true
            top_actions:
              type: array
              items:
                type: object
                additionalProperties: true
            crawler_access:
              type: object
              additionalProperties: true
            llms_txt:
              type:
              - object
              - 'null'
            sitemap:
              type:
              - object
              - 'null'
            sitemap_health:
              type: object
              properties:
                assessment_id:
                  type: string
                  format: uuid
                run:
                  type:
                  - object
                  - 'null'
                completed_run:
                  type:
                  - object
                  - 'null'
                summary:
                  type:
                  - object
                  - 'null'
            sampling:
              type: object
              additionalProperties: true
            content_samples:
              type: array
              items:
                type: object
                additionalProperties: true
            ecommerce:
              type:
              - object
              - 'null'
            agentic_browsing:
              type:
              - object
              - 'null'
            empty_states:
              type: object
              additionalProperties: true
        meta:
          type: object
          additionalProperties: true
    ReadinessResponse:
      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