(Agents)
Agents
- GetMyAgent - Get Agent
- GetAgents - List Agents
- GetAgent - Get Public Agent
Fetch your agent's details.
using Openapi;
using Openapi.Models.Requests;
var sdk = new SeUnitySDK();
using(var res = await sdk.Agents.GetMyAgentAsync("<YOUR_BEARER_TOKEN_HERE>"))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
security |
Openapi.Models.Requests.GetMyAgentSecurity | ✔️ | The security requirements to use for the request. |
Fetch agents details.
using Openapi;
using Openapi.Models.Components;
using Openapi.Models.Requests;
var sdk = new SeUnitySDK();
using(var res = await sdk.Agents.GetAgentsAsync(
page: 648237,
limit: 113864))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
Page |
long | ➖ | What entry offset to request |
Limit |
long | ➖ | How many entries to return per page |
Fetch agent details.
using Openapi;
using Openapi.Models.Components;
using Openapi.Models.Requests;
var sdk = new SeUnitySDK();
using(var res = await sdk.Agents.GetAgentAsync(agentSymbol: "<value>"))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
AgentSymbol |
string | ✔️ | The agent symbol |