Skip to main content
GET
/
public-api
/
shared-agents
/
{share_token}
Get a publicly shared agent
curl --request GET \
  --url https://api.neoagent.io/public-api/shared-agents/{share_token}
import requests

url = "https://api.neoagent.io/public-api/shared-agents/{share_token}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.neoagent.io/public-api/shared-agents/{share_token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.neoagent.io/public-api/shared-agents/{share_token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.neoagent.io/public-api/shared-agents/{share_token}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.neoagent.io/public-api/shared-agents/{share_token}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.neoagent.io/public-api/shared-agents/{share_token}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "data": {
    "action_schemas": [
      {}
    ],
    "agent": {},
    "callback_change_options": [
      "<string>"
    ],
    "integration_schemas": {},
    "integration_statuses": {},
    "ticket_schema": {},
    "time_entry_schema": {},
    "tool_schemas": [
      {}
    ],
    "view": {
      "attribution": {
        "label": "<string>",
        "logo_url": "<string>"
      },
      "capabilities": {
        "sandbox_enabled": true,
        "subagents_enabled": true
      },
      "created_at": "2023-11-07T05:31:56Z",
      "filter_values_masked": true,
      "filters": {},
      "integrations": [
        {
          "groups": [
            {
              "access": "<string>",
              "name": "<string>",
              "requires_approval": true
            }
          ],
          "key": "<string>",
          "name": "<string>"
        }
      ],
      "name": "<string>",
      "pipeline": [
        {
          "action_type": "<string>",
          "label": "<string>",
          "settings": {}
        }
      ],
      "prompt": "<string>",
      "schedule": {},
      "tools": [
        {
          "group": "<string>",
          "settings": {},
          "title": "<string>",
          "type": "<string>"
        }
      ],
      "triggers": {}
    }
  },
  "meta": {
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timings_ms": {},
    "pagination": {
      "has_more": true,
      "next_cursor": "<string>"
    },
    "warnings": [
      "<string>"
    ]
  }
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}

Path Parameters

share_token
string
required

Response

Success.

data
SharedAgentSnapshot · object
required

Self-contained bundle the public page renders from — no separate schema endpoints, no stored state, built fresh at view time. view drives the header + the Overview/Triggers panels; agent + the (generic) schema catalogs + the connected map feed the REAL builder components (Custom Instructions + AvailableToolsPanel) on the Tools & Settings tab.

meta
object
required