GEThttps://api.aitronos.com/v1/rules/{rule_id}/attachments/{entity_type}/{entity_id}
Get details of a specific entity attachment to a rule.
rule_id string required
The rule ID
entity_type string required
Entity type: assistant, user, model, vector_store, organization
entity_id string required
The entity ID
Returns the attachment object with full configuration details.
Bash
- Bash
- Python
- JavaScript
curl "https://api.aitronos.com/v1/rules/rule_a1b2c3d4/attachments/assistant/asst_abc123" \
-H "X-API-Key: $FREDDY_API_KEY"Response 200 OK
{
"success": true,
"data": {
"rule_id": "rule_a1b2c3d4",
"entity_type": "assistant",
"entity_id": "asst_abc123",
"priority": 80,
"character_limit": 1000,
"is_active": true,
"created_at": "2025-01-17T12:00:00Z",
"updated_at": "2025-01-17T12:00:00Z"
}
}