Skip to main content
GET
/
env
/
{env_id}
JavaScript
import Client from 'agentlin_client';

const client = new Client({
  apiKey: process.env['AGENTLIN_API_KEY'], // This is the default and can be omitted
});

const response = await client.env.info('env_id');

console.log(response.details);
{
  "name": "<string>",
  "details": [
    {
      "name": "<string>",
      "source": "<string>",
      "module": "<string>",
      "importable": "<string>",
      "default_params_summary": "<string>",
      "origin": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

env_id
string
required

Environment module path or name

Response

Successful Response

环境详细信息响应

name
string
required
details
EnvInfo · object[]
required