agentuity-cli-cloud-queue-publish
Publish a message to a queue. Requires authentication. Use for Agentuity cloud platform operations
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Cloud Queue Publish
Publish a message to a queue
Prerequisites
- Authenticated with
agentuity auth login
Usage
agentuity cloud queue publish <queue_name> <payload> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<queue_name> |
string | Yes | - |
<payload> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--metadata |
string | Yes | - | Message metadata as JSON |
--partitionKey |
string | Yes | - | Partition key for ordering |
--idempotencyKey |
string | Yes | - | Idempotency key to prevent duplicates |
--ttl |
number | Yes | - | Message TTL in seconds |
Examples
Publish a JSON message:
bunx @agentuity/cli cloud queue publish my-queue '{"task":"process"}'
Publish with metadata:
bunx @agentuity/cli cloud queue publish my-queue '{"task":"process"}' --metadata '{"priority":"high"}'
Publish with 1h TTL:
bunx @agentuity/cli cloud queue publish my-queue "hello" --ttl 3600
Output
Returns JSON object:
{
"id": "string",
"queue_id": "string",
"offset": "number",
"payload": "unknown",
"size": "number",
"metadata": "unknown",
"state": "string",
"idempotency_key": "unknown",
"partition_key": "unknown",
"ttl_seconds": "unknown",
"delivery_attempts": "number",
"max_retries": "number",
"published_at": "string",
"expires_at": "unknown",
"delivered_at": "unknown",
"acknowledged_at": "unknown",
"created_at": "string",
"updated_at": "string"
}
| Field | Type | Description |
|---|---|---|
id |
string | - |
queue_id |
string | - |
offset |
number | - |
payload |
unknown | - |
size |
number | - |
metadata |
unknown | - |
state |
string | - |
idempotency_key |
unknown | - |
partition_key |
unknown | - |
ttl_seconds |
unknown | - |
delivery_attempts |
number | - |
max_retries |
number | - |
published_at |
string | - |
expires_at |
unknown | - |
delivered_at |
unknown | - |
acknowledged_at |
unknown | - |
created_at |
string | - |
updated_at |
string | - |
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!