---
updatedAt: 2026-06-17T23:46:53.000Z
agentTools:
  projectIndex: https://docs.singlefile.ai/llms.txt
---

# /jurisdictions/{jurisdiction_id}

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "SingleFile External API Documentation",
    "description": "",
    "termsOfService": "https://www.singlefile.io/",
    "contact": {
      "email": "support@singlefile.io"
    },
    "license": {
      "name": "BSD License"
    },
    "version": "v1"
  },
  "paths": {
    "/jurisdictions/{jurisdiction_id}": {
      "patch": {
        "operationId": "jurisdictions_partial_update",
        "description": "",
        "requestBody": {
          "$ref": "#/components/requestBodies/JurisdictionUpdate"
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JurisdictionUpdate"
                }
              }
            }
          }
        },
        "tags": [
          "jurisdictions"
        ]
      },
      "parameters": [
        {
          "name": "jurisdiction_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    }
  },
  "servers": [
    {
      "url": "https://api.demo.singlefile.ai/external-api/v1"
    }
  ],
  "components": {
    "requestBodies": {
      "JurisdictionUpdate": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JurisdictionUpdate"
            }
          }
        },
        "required": true
      }
    },
    "schemas": {
      "ExternalAddress": {
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string",
            "readOnly": true,
            "nullable": true
          },
          "street_address": {
            "title": "Street address",
            "type": "string",
            "maxLength": 200,
            "nullable": true
          },
          "city": {
            "title": "City",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "state": {
            "title": "State",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "postal_code": {
            "title": "Postal code",
            "type": "string",
            "maxLength": 20,
            "nullable": true
          },
          "country": {
            "title": "Country",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "country_code": {
            "title": "Country code",
            "type": "string",
            "maxLength": 10,
            "nullable": true
          },
          "country_area": {
            "title": "Country area",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "city_area": {
            "title": "City area",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          },
          "sorting_code": {
            "title": "Sorting code",
            "type": "string",
            "maxLength": 100,
            "nullable": true
          }
        }
      },
      "JurisdictionUpdate": {
        "type": "object",
        "properties": {
          "state_file_number": {
            "title": "State file number",
            "type": "string",
            "maxLength": 30,
            "nullable": true
          },
          "local_address": {
            "$ref": "#/components/schemas/ExternalAddress"
          },
          "registration_date": {
            "title": "Registration date",
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "expiration_date": {
            "title": "Expiration date",
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```