Skip to main content

Sentiment Analysis API

POSThttps://[api_name]-[api_id].infer.visai.ai/predict
Header
    X-API-Key string required

    Your API key

Domain Name
    api_name string required

    Deployed API Name

    api_id string required

    Deployed API ID

    Get your deployed api in Library | Console.
Request Body required
    inputs object
    string[]

    List of sentence

Responses


Schema
  • Array [
  • object
    items string

    Input sentence

    results object
    Positive float

    Probability positive of sentence

    Neutral float

    Probability neutral of sentence

    Negative float

    Probability negative of sentence

  • ]
Loading...