|
9 | 9 | "example": "A12345", |
10 | 10 | "desc": "The ID of the app to get activities from." |
11 | 11 | }, |
12 | | - "component_id": { |
13 | | - "required": false, |
14 | | - "example": "Wf013SMGL4V9", |
15 | | - "desc": "The component ID of log events to be returned. Will be FnXXXXXX for functions, and WfXXXXXX for workflows.", |
16 | | - "type": "string" |
17 | | - }, |
18 | | - "component_type": { |
| 12 | + "team_id": { |
19 | 13 | "required": false, |
20 | | - "example": "workflows", |
21 | | - "desc": "The component type of log events to be returned. Acceptable values are events_api, workflows, functions and tables.", |
| 14 | + "example": "T12345", |
| 15 | + "desc": "The team who owns this log.", |
22 | 16 | "type": "string" |
23 | 17 | }, |
24 | 18 | "cursor": { |
|
33 | 27 | "desc": "The maximum number of items to return.", |
34 | 28 | "type": "integer" |
35 | 29 | }, |
36 | | - "log_event_type": { |
37 | | - "required": false, |
38 | | - "example": "test_log_event", |
39 | | - "desc": "The event type of log events to be returned.", |
40 | | - "type": "string" |
41 | | - }, |
42 | | - "max_date_created": { |
43 | | - "required": false, |
44 | | - "example": "1646665572336299", |
45 | | - "desc": "The latest timestamp of the log to retrieve (epoch microseconds).", |
46 | | - "type": "integer" |
47 | | - }, |
48 | | - "min_date_created": { |
49 | | - "required": false, |
50 | | - "example": "1646665572336251", |
51 | | - "desc": "The earliest timestamp of the log to retrieve (epoch microseconds).", |
52 | | - "type": "integer" |
53 | | - }, |
54 | 30 | "min_log_level": { |
55 | 31 | "required": false, |
56 | 32 | "example": "info", |
57 | 33 | "desc": "The minimum log level of the log events to be returned. Defaults to info. Acceptable values (in order of relative importance from smallest to largest) are trace, debug, info, warn, error and fatal.", |
58 | 34 | "type": "string" |
59 | 35 | }, |
60 | | - "sort_direction": { |
| 36 | + "log_event_type": { |
61 | 37 | "required": false, |
62 | | - "example": "asc", |
63 | | - "desc": "The direction you want the data sorted by (always by timestamp).", |
64 | | - "type": "enum" |
| 38 | + "example": "test_log_event", |
| 39 | + "desc": "The event type of log events to be returned.", |
| 40 | + "type": "string" |
65 | 41 | }, |
66 | 42 | "source": { |
67 | 43 | "required": false, |
68 | 44 | "example": "slack", |
69 | 45 | "desc": "The source of log events to be returned. Acceptable values are slack and developer.", |
70 | 46 | "type": "string" |
71 | 47 | }, |
72 | | - "team_id": { |
| 48 | + "component_type": { |
73 | 49 | "required": false, |
74 | | - "example": "T12345", |
75 | | - "desc": "The team who owns this log.", |
| 50 | + "example": "workflows", |
| 51 | + "desc": "The component type of log events to be returned. Acceptable values are events_api, workflows, functions and tables.", |
| 52 | + "type": "string" |
| 53 | + }, |
| 54 | + "component_id": { |
| 55 | + "required": false, |
| 56 | + "example": "Wf013SMGL4V9", |
| 57 | + "desc": "The component ID of log events to be returned. Will be FnXXXXXX for functions, and WfXXXXXX for workflows.", |
76 | 58 | "type": "string" |
77 | 59 | }, |
78 | 60 | "trace_id": { |
79 | 61 | "required": false, |
80 | 62 | "example": "Tr432f2", |
81 | 63 | "desc": "The trace ID of log events to be returned.", |
82 | 64 | "type": "string" |
| 65 | + }, |
| 66 | + "min_date_created": { |
| 67 | + "required": false, |
| 68 | + "example": "1646665572336251", |
| 69 | + "desc": "The earliest timestamp of the log to retrieve (epoch microseconds).", |
| 70 | + "type": "integer" |
| 71 | + }, |
| 72 | + "max_date_created": { |
| 73 | + "required": false, |
| 74 | + "example": "1646665572336299", |
| 75 | + "desc": "The latest timestamp of the log to retrieve (epoch microseconds).", |
| 76 | + "type": "integer" |
| 77 | + }, |
| 78 | + "sort_direction": { |
| 79 | + "required": false, |
| 80 | + "example": "asc", |
| 81 | + "desc": "The direction you want the data sorted by (always by timestamp).", |
| 82 | + "type": "enum" |
83 | 83 | } |
84 | 84 | }, |
85 | 85 | "response": { |
|
0 commit comments