# Get Rule Details

This call returns the details on a specific rule. The URL includes the object ID for the rule being called and again is sent as a POST call.

<figure><img src="/files/L8cSIkB4wwL9S5bspOoC" alt=""><figcaption><p>Get details call including object ID</p></figcaption></figure>

The body of the message contains the project name and workset name that the specific rule is in.

&#x20;

```
{
    "context": {
        "user": "user_ID",
        "password": "xxxx",
        "project": {
            "name": "imp_payments_demo",
            "version": "1.0"
        },
        "workSet": {
            "name": "api_2_workset",
            "version": "1.1"
        }
    }
}
```

&#x20;

The results message will include the rule details.

<figure><img src="/files/ldKhcIkf98pGNxhjYHic" alt=""><figcaption><p>Return message with rule details</p></figcaption></figure>


---

# 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.apica.io/platform-docs/test-data-orchestrator-tdo/user-documentation/api-guide/assignment-rule-apis/get-rule-details.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.
