> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Source status

> Before a collection run, to decide whether the list changed since the last publication_id, or to get the file URLs and size for a hand-off.

## Request contract

* **Method and path:** POST /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/sanctionslist-fcdo-gov-uk.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "sanctionslist-fcdo-gov-uk.sanctions-screening.source-status",
  "method": "POST",
  "path": "/apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {}
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {},
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/sanctionslist-fcdo-gov-uk.json POST /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status
openapi: 3.1.0
info:
  description: ''
  title: UK Sanctions List (FCDO) full list file
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    sanctionslist-fcdo-gov-uk:
      description: ''
      title: UK Sanctions List (FCDO) full list file
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 66a827d3980115cbc325b9dac30d4689803ce2a05ff22ecff984f91b5585b291
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/records-changes
    - /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/records-get
    - /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/records-list
    - /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/search
    - /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:46aad52485394629067755b199cebcd4494b18e9dd69e99151288d6838ef5a25
    facts_hash: 66a827d3980115cbc325b9dac30d4689803ce2a05ff22ecff984f91b5585b291
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: sanctionslist-fcdo-gov-uk
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/sanctionslist-fcdo-gov-uk/sanctions-screening/source-status:
    post:
      tags:
        - UK Sanctions List (FCDO) full list file
      summary: Source status
      description: >-
        Before a collection run, to decide whether the list changed since the
        last publication_id, or to get the file URLs and size for a hand-off.
      operationId: sanctionslist-fcdo-gov-uk.sanctions-screening.source-status
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value: {}
            schema:
              additionalProperties: true
              properties: {}
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-17.
                  summary: Official provider example
                  value:
                    content_hash:
                      algorithm: md5
                      covers: UK-Sanctions-List.xml
                      value: 0003c78785f6de6ddbf1ab50bad8e74f
                    date_generated: 16/10/2026
                    date_generated_iso: '2026-10-16'
                    etag: 0003c78785f6de6ddbf1ab50bad8e74f
                    files:
                      - bytes: 22051514
                        content_type: text/xml
                        etag: 0003c78785f6de6ddbf1ab50bad8e74f
                        format: xml
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml
                      - bytes: null
                        content_type: null
                        etag: null
                        format: csv
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.csv
                      - bytes: null
                        content_type: null
                        etag: null
                        format: txt
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.txt
                      - bytes: null
                        content_type: null
                        etag: null
                        format: ods
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.ods
                      - bytes: null
                        content_type: null
                        etag: null
                        format: odt
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.odt
                      - bytes: null
                        content_type: null
                        etag: null
                        format: html
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.html
                      - bytes: null
                        content_type: null
                        etag: null
                        format: pdf
                        listed_on_govuk: true
                        url: >-
                          https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.pdf
                    govuk:
                      api_url: >-
                        https://www.gov.uk/api/content/government/publications/the-uk-sanctions-list
                      change_history_count: 482
                      content_id: 0f379d0c-0a9c-4ac4-918c-5248e1facb85
                      first_published_at: '2020-07-06T00:00:00+01:00'
                      latest_change:
                        note: >-
                          Made 3 variations under the ISIL (Da'esh) & Al-Qaida
                          sanctions regime.
                        public_timestamp: '2026-10-16T09:30:50Z'
                      page_url: >-
                        https://www.gov.uk/government/publications/the-uk-sanctions-list
                      public_updated_at: '2026-10-16T10:30:50+01:00'
                      title: The UK Sanctions List
                      updated_at: '2026-10-16T14:06:37+01:00'
                    last_modified: Fri, 16 Oct 2026 09:29:07 GMT
                    observed_at_ms: 1792279076613
                    publication_id: 0003c78785f6de6ddbf1ab50bad8e74f
                    published_at: '2026-10-16T09:29:07Z'
                    retrieved_at: '2026-10-17T23:17:56Z'
                    schema:
                      content_type: application/xml
                      file_size: 16418
                      title: UK Sanctions List schema
                      url: >-
                        https://assets.publishing.service.gov.uk/media/6916e72cdb01ecfcf96fc96b/SanctionsListSchema-4.33.3.xsd
                    source_url: >-
                      https://sanctionslist.fcdo.gov.uk/docs/UK-Sanctions-List.xml
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Cheap version check of the published file: a 1 KB Range read of
            UK-Sanctions-List.xml (ETag as publication_id and MD5 content hash,
            Last-Modified as published_at, total size, the file's DateGenerated)
            and the gov.uk Content API record (public_updated_at, latest change
            note, attachment list for every published format). The record count
            is not returned because it needs the whole 22 MB file; records_list
            reports total_records on every page.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `content_hash` | object |  |

            | `date_generated` | string | The file's <DateGenerated>
            (dd/mm/yyyy). |

            | `date_generated_iso` | string |  |

            | `etag` | string |  |

            | `files` | object[] | Every published format on
            sanctionslist.fcdo.gov.uk. Only the XML is read; bytes, content_type
            and etag are null for the others (fetching them would spend the WAF
            rate budget). |

            | `govuk` | object | Version metadata from the gov.uk Content API
            record of the publication
            (www.gov.uk/api/content/government/publications/the-uk-sanctions-list).
            |

            | `last_modified` | string | Last-Modified as sent. |

            | `observed_at_ms` | number |  |

            | `publication_id` | string | The S3 ETag of UK-Sanctions-List.xml;
            the key every record and cursor is pinned to. |

            | `published_at` | string | Last-Modified of the XML as an ISO 8601
            UTC timestamp. |

            | `retrieved_at` | string |  |

            | `schema` | object | The XSD attachment on gov.uk
            (assets.publishing.service.gov.uk), when listed. |

            | `source_url` | string |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.