Volver al catálogo

Eden AI

eden_ai

Eden AI provides one API for accessing and orchestrating AI models across multiple providers for text, image, audio, document, and multimodal workloads.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (10)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Count Anthropic TokensEDEN_AI_COUNT_ANTHROPIC_TOKENSAcción

Count input tokens for an Anthropic-format message request before generation, including system content and tool definitions.

Parámetros de entrada

  • modelstringObligatorio

    Anthropic-compatible model ID whose tokenizer should be used.

  • toolsobject[]

    Anthropic tool definitions included in the measured request.

  • systemany

    System text or text content blocks included in the token count.

  • messagesobject[]Obligatorio

    Ordered, non-empty Anthropic-format messages to measure.

  • tool_choiceobject

    Tool-selection configuration included in the measured request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Anthropic MessageEDEN_AI_CREATE_ANTHROPIC_MESSAGEAcción

Generate a non-streaming Anthropic-compatible message with content blocks, stop reason, token usage, provider metadata, and Eden AI cost. Each call runs a paid model and consumes Eden AI credits.

Parámetros de entrada

  • modelstringObligatorio

    Anthropic-compatible model ID in 'provider/model' form.

  • top_pnumber

    Nucleus sampling probability from 0 through 1.

  • systemany

    System prompt as text or an ordered list of Anthropic content blocks.

  • messagesobject[]Obligatorio

    Ordered, non-empty Anthropic-format user and assistant conversation messages.

  • fallbacksstring[]

    Up to three fallback model IDs to try in order if the primary model fails.

  • max_tokensinteger

    Maximum number of tokens to generate; must be at least 1.

  • temperaturenumber

    Sampling temperature from 0 through 2.

  • stop_sequencesstring[]

    Text sequences that stop generation when encountered.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Chat CompletionEDEN_AI_CREATE_CHAT_COMPLETIONAcción

Generate a non-streaming OpenAI-compatible chat completion with a current Eden AI model and return its choices, token usage, provider, and cost. Each call runs a paid model and consumes Eden AI credits.

Parámetros de entrada

  • modelstringObligatorio

    Current model ID in 'provider/model' form from DISCOVER_CAPABILITIES, or '@edenai' for dynamic routing.

  • messagesobject[]Obligatorio

    Ordered, non-empty text conversation sent to the model.

  • fallbacksstring[]

    Up to three model IDs to try in order if the primary model fails.

  • max_tokensinteger

    Maximum number of tokens to generate; must be at least 1.

  • temperaturenumber

    Sampling temperature from 0 through 2.

  • response_formatobject

    Provider-compatible response format configuration, including optional JSON Schema output.

  • reasoning_effortstringenum

    Reasoning effort for models that support configurable reasoning.

    minimallowmediumhighmaxxhighdisablenone
  • router_candidatesstring[]

    Candidate model IDs considered for dynamic routing; valid only when model is '@edenai'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create EmbeddingsEDEN_AI_CREATE_EMBEDDINGSAcción

Create embeddings for one text or a batch of texts and return vectors with model, usage, provider, and cost metadata. Each call runs a paid model and consumes Eden AI credits.

Parámetros de entrada

  • userstring

    Stable end-user identifier for provider abuse monitoring.

  • inputanyObligatorio

    One non-empty text or a non-empty batch of up to 2048 texts to embed.

  • modelstringObligatorio

    Embedding model ID in 'provider/model' form from Discover AI Capabilities.

  • dimensionsinteger

    Positive reduced vector size for models that support configurable dimensions.

  • encoding_formatstringenum

    Return each embedding as float values or a base64-encoded string.

    floatbase64

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ResponseEDEN_AI_CREATE_RESPONSEAcción

Create or continue a synchronous OpenAI Responses-compatible text response, stored by default for later retrieval, and return its ID, structured output, text, usage, provider, and cost.

Parámetros de entrada

  • inputstring

    Text input for a new turn; may be omitted only when previous_response_id supplies conversation state.

  • modelstringObligatorio

    Current model ID in 'provider/model' form from DISCOVER_CAPABILITIES.

  • storeboolean

    Store the response so GET_RESPONSE can retrieve it later.

  • fallbacksstring[]

    Up to three fallback model IDs tried in order.

  • temperaturenumber

    Sampling temperature from 0 through 2.

  • instructionsstring

    System or developer instructions for this response; not inherited from the previous response.

  • max_output_tokensinteger

    Requested maximum output tokens; Eden AI or the provider may enforce a higher minimum.

  • previous_response_idstring

    Stored response ID to continue a server-managed conversation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Discover AI CapabilitiesEDEN_AI_DISCOVER_CAPABILITIESAcción

Find current Eden AI models or inspect Universal AI feature schemas, providers, pricing, and regions before an execution call.

Parámetros de entrada

  • querystring

    Case-insensitive text matched against model IDs, model names, alias_of, feature names, and subfeature names.

  • regionstring

    Keep records available in this region code, such as 'eu'.

  • featurestring

    Universal AI feature such as 'text'; omit to list all feature groups.

  • providerstring

    Keep model or Universal AI provider records matching this provider name.

  • model_typestringenum

    Model catalog to search when discovery_type is 'models'.

    allembeddingsmoderation
  • subfeaturestring

    Universal AI subfeature such as 'moderation'; requires feature and returns its simplified runtime schema.

  • max_resultsinteger

    Maximum matching records to return after local filtering (1-100).

  • discovery_typestringenum

    Choose 'models' for executable model records or 'universal_ai' for feature and input-schema discovery.

    modelsuniversal_ai

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Cost OverviewEDEN_AI_GET_COST_OVERVIEWAcción

Return current account credits and, when a date range is supplied, aggregated consumption filtered by provider or subfeature.

Parámetros de entrada

  • end_datestringdate

    Last UTC calendar date to include (YYYY-MM-DD); requires start_date.

  • providerstring

    Limit consumption data to one provider; requires a date range.

  • start_datestringdate

    First UTC calendar date to include (YYYY-MM-DD); requires end_date.

  • subfeaturestring

    Limit consumption data to one Eden AI subfeature; requires a date range.

  • aggregationstringenum

    Time bucket for consumption data when a date range is supplied.

    dailyweeklymonthlyyearly

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ResponseEDEN_AI_GET_RESPONSEAcción

Retrieve a previously stored Responses API object by ID, including its status, text output, structured output, usage, and canonical model.

Parámetros de entrada

  • response_idstringObligatorio

    Response ID returned by CREATE_RESPONSE.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Moderate TextEDEN_AI_MODERATE_TEXTAcción

Classify one text or a batch of texts for safety categories and return flags, category scores, applied input types, provider, and cost. Each call runs a paid model and consumes Eden AI credits.

Parámetros de entrada

  • inputanyObligatorio

    One text or a non-empty batch of texts to classify for safety.

  • modelstring

    Moderation model ID in 'provider/model' form. Discover current alternatives before overriding this default.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run Universal AIEDEN_AI_RUN_UNIVERSAL_AIAcción

Run one synchronous Eden AI Universal AI feature using a current model and feature-specific input. Call DISCOVER_CAPABILITIES first for the exact model ID and runtime input schema. Returns normalized output, provider, and cost, with the raw provider response only when requested. Each call runs a paid model and consumes Eden AI credits.

Parámetros de entrada

  • inputobjectObligatorio

    Non-empty feature-specific input object. Copy the exact field names and value shapes returned by DISCOVER_CAPABILITIES for the selected feature and subfeature; Eden AI validates this object dynamically at runtime.

  • modelstringObligatorio

    Full model ID in 'feature/subfeature/provider[/model]' form. Call DISCOVER_CAPABILITIES immediately before this tool to obtain a current model ID and its exact input schema.

  • fallbacksstring[]

    Up to three fallback provider names, provider/model identifiers, or full Universal AI model IDs, tried in order.

  • provider_paramsobject

    Provider-specific parameters documented in the discovered feature schema. Omit this object unless the selected provider requires or supports them.

  • show_original_responseboolean

    Include the raw provider response in addition to Eden AI's normalized output. Leave false for a smaller, provider-independent result.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not