CKAN Solr API

The Solr API from CKAN — 3 operation(s) for solr.

Operations 3

GET /solr/admin GET /solr/admin #
GET /solr/admin/ Configure Solr Multi-core #
GET /solr/admin/cores GET /solr/admin/cores #

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/ckan:ckan-solr-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ckan-solr-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CKAN Solr API
  version: '2026-10-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 7 operation(s) read from 6 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; CKAN has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 12
    documentation: -5
    pages-with-code: 6
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-13'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.ckan.org/en/2.12/api/index.html
  - https://docs.ckan.org/en/2.12/api/legacy-api.html
  - https://docs.ckan.org/en/2.12/maintaining/filestore.html
  - https://docs.ckan.org/en/2.12/maintaining/datastore.html
  - https://docs.ckan.org/en/2.12/extensions/remote-config-update.html
  - https://docs.ckan.org/en/2.12/contributing/test.html
servers:
- url: http://demo.ckan.org
security:
- apiKey: []
tags:
- name: Solr
paths:
  /solr/admin:
    get:
      operationId: get_solr_admin
      tags:
      - Solr
      summary: GET /solr/admin
      x-source: https://docs.ckan.org/en/2.12/contributing/test.html
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl - s 'http://127.0.0.1:8983/solr/admin/' | grep SolrHome \n Configure Solr with the new core by editing solr.xml . The ‘cores’ section will have one ‘core’ in it already and needs the second one ‘ckan’ added so it looks like this: \n < cores adminPath = \"/admin/cores\" defaultCoreName = \"collection1\" > \n < core name = \"collection1\" instanceDir = \".\" /> \n < core name = \"ckan\" instanceDir = \"/etc/s"
  /solr/admin/:
    get:
      operationId: getSolrAdmin
      tags:
      - Solr
      summary: Configure Solr Multi-core
      x-source: https://docs.ckan.org/en/2.12/contributing/test.html
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
      x-operation-id-source: normalized
      x-operation-id-original: get_solr_admin
  /solr/admin/cores:
    get:
      operationId: get_solr_admin_cores
      tags:
      - Solr
      summary: GET /solr/admin/cores
      x-source: https://docs.ckan.org/en/2.12/contributing/test.html
      parameters:
      - name: action
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl - s 'http://127.0.0.1:8983/solr/admin/cores?action=STATUS' | python - c 'import sys;import xml.dom.minidom;s=sys.stdin.read();print(xml.dom.minidom.parseString(s).toprettyxml())' \n Each core will be within a child from the <lst name=\"status\" element, and contain a <str name=\"instanceDir\"> element. \n You can also tell from your ckan config (assuming ckan is working): \n grep solr_url | ckan . i"
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization