X-INVICTA-API
header for each request.
Header | Type | Required | Description |
---|---|---|---|
X-INVICTA-API | string | Yes | Your unique API key for authentication |
Content-Type | string | Yes | Must be set to application/json |
Parameter | Type | Required | Description |
---|---|---|---|
userInput | string | Yes | The prompt for the AI agent |
variables | array | Yes | Key-value pairs for customizing the system prompt |
threadId | string | No | Identifier for maintaining conversation context |
modelName | string | No | Specific AI model to use for the response |
Status Code | Meaning |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
500 | Internal Server Error |
threadId
parameter for maintaining context in multi-turn conversations.