-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
880d222
commit d752fdb
Showing
86 changed files
with
1,020 additions
and
351 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Flatfile from "../../.."; | ||
|
||
/** | ||
* A log of an agent execution | ||
* | ||
* @example | ||
* { | ||
* eventId: "us_evt_9cuesESa7W9cuesE", | ||
* success: true, | ||
* createdAt: new Date("2022-09-18T00:19:57.007Z"), | ||
* completedAt: new Date("2022-09-18T00:20:04.007Z"), | ||
* duration: 500, | ||
* topic: "space:created", | ||
* context: {}, | ||
* log: "SUCCESS" | ||
* } | ||
*/ | ||
export interface DetailedAgentLog { | ||
eventId: Flatfile.EventId; | ||
/** Whether the agent execution was successful */ | ||
success: boolean; | ||
createdAt: Date; | ||
completedAt: Date; | ||
/** The duration of the agent execution */ | ||
duration: number; | ||
/** The topics of the agent execution */ | ||
topic: string; | ||
/** The context of the agent execution */ | ||
context: Record<string, any>; | ||
/** The log of the agent execution */ | ||
log?: string; | ||
} |
30 changes: 30 additions & 0 deletions
30
src/api/resources/agents/types/GetDetailedAgentLogsResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Flatfile from "../../.."; | ||
|
||
/** | ||
* @example | ||
* { | ||
* pagination: { | ||
* currentPage: 3, | ||
* pageCount: 50, | ||
* totalCount: 100 | ||
* }, | ||
* data: [{ | ||
* eventId: "us_evt_9cuesESa7W9cuesE", | ||
* success: true, | ||
* createdAt: new Date("2022-09-18T00:19:57.007Z"), | ||
* completedAt: new Date("2022-09-18T00:20:04.007Z"), | ||
* duration: 500, | ||
* topic: "space:created", | ||
* context: {}, | ||
* log: "SUCCESS" | ||
* }] | ||
* } | ||
*/ | ||
export interface GetDetailedAgentLogsResponse { | ||
pagination?: Flatfile.Pagination; | ||
data: Flatfile.DetailedAgentLog[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.