# Documentation

API specification and documentation

## Get OpenAPI specification

> Returns the OpenAPI specification for the Spice Cloud Control-Plane API.

```json
{"openapi":"3.1.0","info":{"title":"Spice Cloud Control-Plane API","version":"v1"},"tags":[{"name":"Documentation","description":"API specification and documentation"}],"servers":[{"url":"https://api.spice.ai"}],"paths":{"/openapi.json":{"get":{"summary":"Get OpenAPI specification","description":"Returns the OpenAPI specification for the Spice Cloud Control-Plane API.","responses":{"200":{"description":"OpenAPI specification document","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["Documentation"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.spice.ai/api/management-api/management/documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
