Invictus ai
  • Welcome to Invictus AI
  • Quick Start Guide
  • Natural Language Processing
  • API Reference Overview
  • Next Step
  • Authentication
  • Computer Vision
  • Healthcare Use Cases
  • General FAQ
Powered by GitBook
On this page
  • Introduction
  • Base URL
  • Authentication
  • Request Format
  • Response Format
  • Error Handling
  • Rate Limits
  • Available Endpoints
  • SDKs and Client Libraries

API Reference Overview

Introduction

The Invictus AI API provides programmatic access to all our AI capabilities. This reference documentation will help you understand how to integrate our services into your applications.

Base URL

All API requests should be made to the following base URL:

https://api.invictusai.com/v1

Authentication

All API requests require authentication using your API key. See the Authentication page for details on how to obtain and use your API key.

Request Format

Requests should be sent as JSON with the appropriate HTTP method (GET, POST, PUT, DELETE). For example:

curl -X POST \
  https://api.invictusai.com/v1/nlp/analyze \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "text": "Invictus AI provides powerful machine learning solutions for enterprises."
  }'

Response Format

All responses are returned in JSON format. A typical successful response will have the following structure:

{
  "status": "success",
  "requestId": "req_123456789",
  "data": {
    // Response data specific to the endpoint
  }
}

Error Handling

Errors are returned with appropriate HTTP status codes and a JSON body containing error details. See the Error Handling page for more information.

Rate Limits

API requests are subject to rate limiting to ensure fair usage. See the Rate Limits page for details.

Available Endpoints

Category
Endpoint
Description

NLP

/nlp/analyze

Analyze text for sentiment, entities, and more

NLP

/nlp/classify

Classify text into predefined categories

NLP

/nlp/translate

Translate text between languages

Computer Vision

/vision/analyze

Analyze images for objects, scenes, and faces

Computer Vision

/vision/detect

Detect specific objects in images

Predictive

/predictive/forecast

Generate time series forecasts

Predictive

/predictive/cluster

Identify clusters in data

Custom Models

/models/train

Train custom models on your data

Custom Models

/models/predict

Generate predictions from custom models

For detailed information about each endpoint, including request parameters and response formats, see the Endpoints page.

SDKs and Client Libraries

We provide official client libraries for several programming languages:

  • JavaScript/Node.js

  • Python

  • Java

  • Ruby

  • Go

PreviousNatural Language ProcessingNextNext Step

Last updated 14 days ago