Skip to content

Commit 125afef

Browse files
sweetmantechclaude
andauthored
docs: add total_videos and tags_with_videos to content/slack endpoint (#82)
Add aggregate video statistics to measure tag-to-video conversion, mirroring the coding/slack endpoint's PR stats pattern. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 41ba213 commit 125afef

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

api-reference/openapi.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4300,7 +4300,7 @@
43004300
},
43014301
"/api/admins/content/slack": {
43024302
"get": {
4303-
"description": "Returns a list of Slack mentions of the Recoup Content Agent bot, pulled directly from the Slack API as the source of truth. Each entry includes the tagger's information, the prompt they sent, the timestamp, the channel, and any video link responses. Supports optional time-period filtering. Requires the authenticated account to be a Recoup admin. Authentication via x-api-key or Authorization Bearer token.",
4303+
"description": "Returns a list of Slack mentions of the Recoup Content Agent bot, pulled directly from the Slack API as the source of truth. Each entry includes the tagger's information, the prompt they sent, the timestamp, the channel, and any video link responses. Also returns aggregate video statistics for measuring tag-to-video conversion. Supports optional time-period filtering. Requires the authenticated account to be a Recoup admin. Authentication via x-api-key or Authorization Bearer token.",
43044304
"parameters": [
43054305
{
43064306
"name": "period",
@@ -4325,7 +4325,7 @@
43254325
"application/json": {
43264326
"schema": {
43274327
"type": "object",
4328-
"required": ["status", "total", "tags"],
4328+
"required": ["status", "total", "total_videos", "tags_with_videos", "tags"],
43294329
"properties": {
43304330
"status": {
43314331
"type": "string",
@@ -4337,6 +4337,16 @@
43374337
"description": "Total number of times the Content Agent was tagged in the requested period",
43384338
"example": 18
43394339
},
4340+
"total_videos": {
4341+
"type": "integer",
4342+
"description": "Total number of videos generated by the Content Agent across all tags in the requested period",
4343+
"example": 12
4344+
},
4345+
"tags_with_videos": {
4346+
"type": "integer",
4347+
"description": "Number of tags that resulted in at least one video being generated",
4348+
"example": 10
4349+
},
43404350
"tags": {
43414351
"type": "array",
43424352
"description": "List of Slack tag events",

0 commit comments

Comments
 (0)