Files
Alexander Myasoedov 50436e1f1d feat(Update docs):
2025-01-25 12:28:50 +02:00

54 lines
1.0 KiB
Markdown

# API Reference
This section provides detailed information about the Agentic Security API.
## Endpoints
### `/v1/self-probe`
- **Method**: POST
- **Description**: Used for integration testing.
- **Request Body**:
```json
{
"prompt": "<<PROMPT>>"
}
```
### `/v1/self-probe-image`
- **Method**: POST
- **Description**: Probes the image modality.
- **Request Body**:
```json
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "What is in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "data:image/jpeg;base64,<<BASE64_IMAGE>>"
}
}
]
}
]
```
## Authentication
All API requests require an API key. Include it in the `Authorization` header:
```
Authorization: Bearer YOUR_API_KEY
```
## Further Reading
For more details on API usage, refer to the [Configuration](configuration.md) section.