ListAgentItem¶
- pydantic model openapi_client.models.list_agent_item.ListAgentItem¶
Listing row for GET /ai/agents. Keys are AGENTS_LISTING_KEYS; projectionExpression may omit fields. Not the GET /ai/agents/{id} details payload.
- Fields:
- field agent_id: Optional[StrictStr] = None (alias 'AgentId')¶
Unique identifier of the agent.
- field agent_name: Optional[StrictStr] = None (alias 'AgentName')¶
Name of the agent.
- field display_name: Optional[StrictStr] = None (alias 'DisplayName')¶
Human-readable label. Defaults to AgentName when omitted on create. Maximum 255 characters.
- field description: Optional[StrictStr] = None (alias 'Description')¶
Description of the agent (maximum 200 characters on write).
- field agent_type: Optional[StrictStr] = None (alias 'AgentType')¶
CUSTOM user-created AgentCore agent, SYSTEM platform agent, or MANAGED platform-managed agent.
- field agent_status: Optional[StrictStr] = None (alias 'AgentStatus')¶
Current lifecycle status.
- field is_enabled: Optional[StrictBool] = None (alias 'IsEnabled')¶
Whether the agent is enabled.
- field access_type: Optional[StrictStr] = None (alias 'AccessType')¶
Caller’s permission. SYSTEM agents are always read-only in listing.
- field created_by: Optional[StrictStr] = None (alias 'CreatedBy')¶
- field creation_time: Optional[StrictStr] = None (alias 'CreationTime')¶
Creation timestamp in %Y-%m-%d %H:%M:%S.
- field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')¶
- field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')¶
Last modified timestamp in %Y-%m-%d %H:%M:%S.
- field usable_in_chat: Optional[StrictBool] = None (alias 'UsableInChat')¶
Whether the agent can be used in chat. Defaults to true when omitted from stored metadata.
- field agent_response_type: Optional[StrictStr] = None (alias 'AgentResponseType')¶
Response mode stored on the agent (for example STREAM).
- field cost_tags: Optional[List[ListAgentItemCostTagsInner]] = None (alias 'CostTags')¶
Cost tags when included in the projection. Create stores key/value; request bodies use TagKey/TagValue.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of ListAgentItem from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of ListAgentItem from a dict
- Return type:
Optional[Self]