get inbox
GET
https://api.wexa.ai/inbox
Last modified:2025-04-25 11:16:47
Retrieve Inbox for Approval Requests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.wexa.ai/inbox?projectID={{projectID}}&limit=1' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
"total_count": 1,
"inbox_requests": [
{
"_id": "68067cc5fec812d6a6c5ccee",
"type": "preview",
"status": "pending",
"created_at": 1745255056932.1138,
"updated_at": 1745255621992.46,
"agent_id": "68067c7e2d3948612a019214",
"coworker_id": "68067c49c517ff5238533ccf",
"coworker_name": "content creator testing",
"agent_title": "content creator",
"summary": "Hello there! I'm excited to continue our work together. Could you please provide the preview for execution? Your input is essential for moving forward. Thank you!",
"execution_id": "adb4f70c-03f6-4615-b377-b09002c53843",
"projectID": "67fdea40aac77be632954f13",
"executed_by": "67fdea40aac77be632954f0e",
"preview": {
"is_approved": false,
"modified_inputs_during_preview": [],
"preview_input": {
"thoughts": {
"text": "Create engaging content about Abdul Kalam, focusing on his life, achievements, and legacy.",
"reasoning": "Abdul Kalam is a significant figure in Indian history, known for his contributions to science and his role as a leader. Highlighting his achievements and values can inspire and educate the audience.",
"plan": "- Research key aspects of Abdul Kalam's life\n- Highlight his contributions to science and education\n- Emphasize his leadership qualities and vision for India\n- Create content that is informative and inspiring",
"criticism": "Ensure the content is not only informative but also engaging to capture the audience's interest.",
"speak": "Creating content about Abdul Kalam will help in spreading awareness about his contributions and inspiring others."
},
"skill": {
"name": "Content creator - Content creation",
"id": "68063653fc2e1fb8597c775f",
"input": {
"content": {
"title": "The Inspiring Journey of Dr. A.P.J. Abdul Kalam",
"introduction": "Dr. A.P.J. Abdul Kalam, known as the 'Missile Man of India', was a visionary leader and a renowned scientist who served as the 11th President of India. His life and work continue to inspire millions.",
"early_life": "Born on October 15, 1931, in Rameswaram, Tamil Nadu, Abdul Kalam came from humble beginnings. His early life was marked by a strong desire to learn and excel.",
"scientific_contributions": "Kalam played a pivotal role in India's civilian space program and military missile development, earning him the nickname 'Missile Man'. His work in the development of ballistic missile technology and launch vehicle systems was crucial to India's defense capabilities.",
"presidency": "Serving as the President of India from 2002 to 2007, Kalam was known for his accessibility to the public and his efforts to promote education and innovation.",
"legacy": "Abdul Kalam's legacy is one of inspiration and dedication to the nation. His vision for India as a developed nation continues to motivate young minds.",
"conclusion": "Dr. Kalam's life is a testament to the power of dreams and perseverance. His contributions to science and his leadership have left an indelible mark on India and the world."
}
}
}
},
"preview_input_schema": {
"fields": [
{
"field_id": "content",
"label": "content to generated",
"type": "object",
"required": true,
"description": "A JSON object with the data that is to be saved in the execution context and should be generated by an LLM. You can follow the instructions given in the task to generate appropriate json data. This is mandatory and you should provide the data in the format mentioned in the task. If nothing is mentioned, just interpret any relevant data and provide it in the JSON format."
}
]
},
"summary": null,
"timestamp": 1745255616
},
"createdAt": 1745255621590.949
}
]
}
Request
Query Params
projectID
string
required
Example:
{{projectID}}
limit
string
required
Example:
1
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Responses
Modified at 2025-04-25 11:16:47