Tela SDK for JavaScript
    Preparing search index...

    Interface TelaSDKOptions

    Configuration options for the TelaSDK.

    interface TelaSDKOptions {
        agentBaseURL?: string;
        apiKey?: string;
        baseURL?: string;
        dataToken?: string;
        jwt?: string;
        maxRetries?: number;
        timeout?: number;
        vaultURL?: string;
    }

    Hierarchy

    Index

    Properties

    agentBaseURL?: string

    Base URL for the agent execution backend (the agent-sdk /v4/* service) that tela.agents delegates to. Defaults to baseURL.

    Set this to the reachable v4 service URL when it differs from the main Tela API host — the agent-sdk client calls fixed /v4/agents and /v4/sessions paths.

    apiKey?: string

    The API key for authentication. Required if jwt is not provided.

    baseURL?: string

    The base URL for the Tela API. Defaults to 'https://api.tela.com'.

    dataToken?: string

    The data token for authentication. When provided, sends x-data-token header. Required if apiKey or jwt is not provided.

    jwt?: string

    The JWT token for authentication. Required if apiKey is not provided.

    maxRetries?: number
    timeout?: number
    vaultURL?: string

    Vault service URL used by tela.agents.resolveReference. Defaults to `${baseURL}/_services/vault`.