---
updatedAt: 2026-09-17T10:05:50.000Z
agentTools:
  projectIndex: https://gtidocs.readme.io/llms.txt
---

# Get a prompt

This endpoint returns the details of a single [prompt](https://gtidocs.readme.io/reference/prompt-object) by its unique ID.

> 📘 Requesting a prompt you cannot access returns 404
>
> Requesting a prompt that belongs to another user and has not been shared with you returns `404 NotFoundError`, not `403`. Existence is hidden on purpose to prevent enumeration of private prompts, so do not treat a `404` as proof that a prompt ID is invalid.

## Examples

Retrieve a single prompt by its ID.

```python
import requests

prompt_id = "3fa85f64-5717-4562-b3fc-2c963f66afa6"
url = f"https://www.virustotal.com/api/v3/agent/prompts/{prompt_id}"
headers = {"accept": "application/json", "x-apikey": <api-key>}

response = requests.get(url, headers=headers)
response.raise_for_status()
prompt = response.json()["data"]
print(prompt["attributes"]["content"])
```

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Agentic",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://www.virustotal.com/api/v3"
    }
  ],
  "tags": [
    {
      "name": "Prompts",
      "description": "List and retrieve agentic prompts."
    }
  ],
  "security": [],
  "paths": {
    "/agent/prompts/{id}": {
      "get": {
        "operationId": "get-prompt",
        "summary": "Get a prompt",
        "tags": [
          "Prompts"
        ],
        "deprecated": false,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the prompt.",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Your API key.",
            "in": "header",
            "name": "x-apikey",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Prompt details.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": {
                    "type": "prompt",
                    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
                    "attributes": {
                      "name": "Triage high-detection file",
                      "description": "Summarize the threat posed by a file given its hash.",
                      "content": "Analyze the file with hash {{hash}} and summarize the key findings, associated threat actors and recommended actions.",
                      "tags": [
                        "malware",
                        "triage"
                      ],
                      "creation_date": 1785758400,
                      "last_modification_date": 1785758460
                    },
                    "links": {
                      "self": "https://www.virustotal.com/api/v3/agent/prompts/3fa85f64-5717-4562-b3fc-2c963f66afa6"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Prompt not found."
          }
        },
        "security": []
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "headers": [],
    "proxy-enabled": false,
    "samples-enabled": true
  }
}
```