curl --location --request GET https://api.writer.com/v1/applications/{application_id} \
--header "Authorization: Bearer <token>"import os
from writerai import Writer
client = Writer(
api_key=os.environ.get("WRITER_API_KEY"), # This is the default and can be omitted
)
application = client.applications.retrieve(
"application_id",
)
print(application.id)import Writer from 'writer-sdk';
const client = new Writer({
apiKey: process.env['WRITER_API_KEY'], // This is the default and can be omitted
});
async function main() {
const application = await client.applications.retrieve('application_id');
console.log(application.id);
}
main();{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "generation",
"status": "deployed",
"inputs": [
{
"name": "<string>",
"input_type": "text",
"required": true,
"description": "<string>",
"options": {
"list": [
"<string>"
]
}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_deployed_at": "2023-11-07T05:31:56Z"
}Application details
Retrieves detailed information for a specific no-code agent (formerly called no-code applications), including its configuration and current status.
curl --location --request GET https://api.writer.com/v1/applications/{application_id} \
--header "Authorization: Bearer <token>"import os
from writerai import Writer
client = Writer(
api_key=os.environ.get("WRITER_API_KEY"), # This is the default and can be omitted
)
application = client.applications.retrieve(
"application_id",
)
print(application.id)import Writer from 'writer-sdk';
const client = new Writer({
apiKey: process.env['WRITER_API_KEY'], // This is the default and can be omitted
});
async function main() {
const application = await client.applications.retrieve('application_id');
console.log(application.id);
}
main();{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "generation",
"status": "deployed",
"inputs": [
{
"name": "<string>",
"input_type": "text",
"required": true,
"description": "<string>",
"options": {
"list": [
"<string>"
]
}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_deployed_at": "2023-11-07T05:31:56Z"
}application to minimize breaking changes.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.
Path Parameters
Unique identifier of the application to retrieve.
Response
Successfully retrieved application details.
Detailed application object including its input configuration.
Unique identifier for the application.
Display name of the application.
The type of no-code application.
generation Current deployment status of the application. Note: currently only deployed applications are returned.
deployed, draft List of input configurations for the application.
Show child attributes
Show child attributes
Timestamp when the application was created.
Timestamp when the application was last updated.
Timestamp when the application was last deployed.
Was this page helpful?