For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET v1/site/map/{id}

This endpoint retrieves information about a site mapping request.

Get a sitemap request by ID

get

This endpoint retrieves a sitemap request by its ID.

Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

The unique identifier of the sitemap request to retrieve.

Responses
200

The sitemap request

application/json
get/v1/site/map/{id}
GET /v1/site/map/{id} HTTP/1.1
Host: api.gaffa.dev
X-API-Key: YOUR_API_KEY
Accept: */*
{
  "data": {
    "id": "text",
    "url": "text",
    "state": "text",
    "credit_usage": 1,
    "error": "text",
    "error_reason": "text",
    "from_cache": true,
    "sitemap_built_at": "2026-01-01T00:00:00.000Z",
    "filters_applied": true,
    "started_at": "2026-01-01T00:00:00.000Z",
    "completed_at": "2026-01-01T00:00:00.000Z",
    "running_time": "text",
    "links": [
      {
        "url": "text",
        "extracted_text": "text",
        "similarity_score": 1
      }
    ],
    "link_count": 1,
    "truncated": true,
    "total_link_count": 1,
    "partial_failure": true,
    "failed_sitemaps": [
      {
        "url": "text",
        "error": "text"
      }
    ]
  },
  "error": {
    "type": "text",
    "id": "text",
    "code": "text",
    "message": "text"
  }
}

Last updated