Docs
find_post_on_channel
For a post whose outcome is unknown or that was sent as a TikTok draft: the channel's posts since its first attempt (id, link, time, text, matchesText). Then link_post_to_channel_post. Never retries. X bills these reads (readCost).
For a post whose outcome is unknown or that was sent as a TikTok draft: the channel's posts since its first attempt (id, link, time, text, matchesText). Then link_post_to_channel_post. Never retries. X bills these reads (readCost).
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"postId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"workspaceId",
"postId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"postId": {
"format": "uuid",
"type": "string"
},
"platform": {
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
"status": {
"enum": [
"listed",
"refreshing_connection"
],
"type": "string"
},
"since": {
"format": "date-time",
"type": "string"
},
"candidates": {
"items": {
"additionalProperties": false,
"properties": {
"platformPostId": {
"type": "string"
},
"permalink": {
"type": [
"string",
"null"
]
},
"publishedAt": {
"format": "date-time",
"type": "string"
},
"text": {
"type": [
"string",
"null"
]
},
"segmentCount": {
"minimum": 1,
"type": "integer"
},
"matchesText": {
"type": "boolean"
},
"alreadyLinked": {
"type": "boolean"
}
},
"required": [
"platformPostId",
"permalink",
"publishedAt",
"text",
"segmentCount",
"matchesText",
"alreadyLinked"
],
"type": "object"
},
"type": "array"
},
"truncated": {
"type": "boolean"
},
"readCost": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"estimatedUsd": {
"minimum": 0,
"type": "number"
},
"postsRead": {
"minimum": 0,
"type": "integer"
},
"note": {
"type": "string"
}
},
"required": [
"estimatedUsd",
"postsRead",
"note"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"postId",
"platform",
"status",
"since",
"candidates",
"truncated",
"readCost"
],
"type": "object"
}Errors
[
"not_findable",
"channel_needs_reconnect",
"not_configured",
"platform_unavailable"
]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true,
"readOnlyHint": true,
"title": "Find a post on its channel"
}