# ExecutionPlan

## Get Execution Plan details

> Retrieves detailed information about a specific execution plan

```json
{"openapi":"3.0.0","info":{"title":"toolregistry.ai API","version":"1.0"},"servers":[{"url":"https://api.toolregistry.ai"}],"security":[{}],"paths":{"/v1/execution-plans/{executionPlanId}":{"get":{"description":"Retrieves detailed information about a specific execution plan","operationId":"ExecutionPlanController_getExecutionPlan","parameters":[{"name":"executionPlanId","required":true,"in":"path","description":"Unique identifier of the execution plan to retrieve","schema":{"type":"string"}}],"responses":{"200":{"description":"Execution plan details retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecPlanResponseDto"}}}},"401":{"description":"Unauthorized - invalid API key"},"404":{"description":"Execution plan not found"}},"summary":"Get Execution Plan details","tags":["ExecutionPlan"]}}},"components":{"schemas":{"ExecPlanResponseDto":{"type":"object","properties":{"planType":{"type":"string","description":"Plan serialization type","enum":["json","text"]},"plan":{"description":"Execution plan details","oneOf":[{"$ref":"#/components/schemas/ExecPlanDto"},{"type":"string"}]}},"required":["planType","plan"]},"ExecPlanDto":{"type":"object","properties":{"title":{"type":"string","description":"Optional human-readable title for the execution plan"},"description":{"type":"string","description":"High-level description of the execution plan"},"steps":{"description":"Ordered list of steps to execute the plan","type":"array","items":{"$ref":"#/components/schemas/ExecPlanStepDto"}}},"required":["description","steps"]},"ExecPlanStepDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the step"},"description":{"type":"string","description":"Step description"},"dependsOnSteps":{"description":"List of step IDs that must be completed first","type":"array","items":{"type":"string"}}},"required":["id","description","dependsOnSteps"]}}}}
```


---

# 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.toolregistry.ai/api-documentation/executionplan.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.
