cURL
curl --location --request GET https://api.writer.com/v1/applications \
--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
)
page = client.applications.list()
page = page.data[0]
print(page.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() {
// Automatically fetches more pages as needed.
for await (const applicationListResponse of client.applications.list()) {
console.log(applicationListResponse.id);
}
}
main();{
"data": [
{
"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"
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Applications API
List applications
Retrieves a paginated list of no-code agents (formerly called no-code applications) with optional filtering and sorting capabilities.
GET
/
v1
/
applications
cURL
curl --location --request GET https://api.writer.com/v1/applications \
--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
)
page = client.applications.list()
page = page.data[0]
print(page.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() {
// Automatically fetches more pages as needed.
for await (const applicationListResponse of client.applications.list()) {
console.log(applicationListResponse.id);
}
}
main();{
"data": [
{
"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"
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}No-code applications are now called no-code agents. The Applications API, which you can use to programmatically interact with no-code agents, still uses the term
application to minimize breaking changes.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.
Query Parameters
Response
200 - application/json
Successfully retrieved list of applications.
Response object containing a paginated list of applications.
Was this page helpful?