from openlayer import Openlayer
client = Openlayer()
client.projects.inference_pipelines.list(
project_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
){
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "production",
"dateCreated": "2024-03-22T11:31:01.185Z",
"dateUpdated": "2024-03-22T11:31:01.185Z",
"dateLastSampleReceived": "2024-03-22T11:31:01.185Z",
"description": "This pipeline is used for production.",
"dateLastEvaluated": "2024-03-22T11:31:01.185Z",
"dateOfNextEvaluation": "2024-03-22T11:31:01.185Z",
"passingGoalCount": 5,
"failingGoalCount": 1,
"totalGoalCount": 6,
"status": "completed",
"statusMessage": "Tests successfully evaluated",
"links": {
"app": "https://app.openlayer.com/myWorkspace/3fa85f64-5717-4562-b3fc-2c963f66afa6/inference-pipeline/3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"workspaceId": "055fddb1-261f-4654-8598-f6347ee46a09",
"project": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workspaceId": "055fddb1-261f-4654-8598-f6347ee46a09",
"creatorId": "589ece63-49a2-41b4-98e1-10547761d4b0",
"name": "My Project",
"dateCreated": "2024-03-22T11:31:01.185Z",
"dateUpdated": "2024-03-22T11:31:01.185Z",
"source": "web",
"taskType": "llm-base",
"versionCount": 2,
"inferencePipelineCount": 1,
"goalCount": 10,
"developmentGoalCount": 5,
"monitoringGoalCount": 5,
"links": {
"app": "https://app.openlayer.com/myWorkspace/3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"description": "My project description.",
"gitRepo": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gitId": 123,
"dateConnected": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"name": "<string>",
"private": true,
"slug": "<string>",
"url": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gitAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"branch": "<string>",
"rootDir": "<string>"
}
},
"workspace": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Openlayer",
"slug": "openlayer",
"dateCreated": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"creatorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectCount": 1,
"memberCount": 1,
"inviteCount": 1,
"periodStartDate": "2023-11-07T05:31:56Z",
"periodEndDate": "2023-11-07T05:31:56Z",
"status": "active",
"wildcardDomains": [
"<string>"
],
"monthlyUsage": [
{
"monthYear": "2023-12-25",
"predictionCount": 1,
"executionTimeMs": 1
}
],
"samlOnlyAccess": true
},
"dateLastPolled": "2023-11-07T05:31:56Z",
"totalRecordsCount": 1000,
"dataBackend": {
"backendType": "bigquery",
"bigqueryConnectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "my-project",
"datasetId": "my-dataset",
"tableId": "my-table",
"partitionType": "DAY"
}
}
]
}List all data sources (formerly known as “inference pipelines”) in a project.
from openlayer import Openlayer
client = Openlayer()
client.projects.inference_pipelines.list(
project_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
){
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "production",
"dateCreated": "2024-03-22T11:31:01.185Z",
"dateUpdated": "2024-03-22T11:31:01.185Z",
"dateLastSampleReceived": "2024-03-22T11:31:01.185Z",
"description": "This pipeline is used for production.",
"dateLastEvaluated": "2024-03-22T11:31:01.185Z",
"dateOfNextEvaluation": "2024-03-22T11:31:01.185Z",
"passingGoalCount": 5,
"failingGoalCount": 1,
"totalGoalCount": 6,
"status": "completed",
"statusMessage": "Tests successfully evaluated",
"links": {
"app": "https://app.openlayer.com/myWorkspace/3fa85f64-5717-4562-b3fc-2c963f66afa6/inference-pipeline/3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"workspaceId": "055fddb1-261f-4654-8598-f6347ee46a09",
"project": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workspaceId": "055fddb1-261f-4654-8598-f6347ee46a09",
"creatorId": "589ece63-49a2-41b4-98e1-10547761d4b0",
"name": "My Project",
"dateCreated": "2024-03-22T11:31:01.185Z",
"dateUpdated": "2024-03-22T11:31:01.185Z",
"source": "web",
"taskType": "llm-base",
"versionCount": 2,
"inferencePipelineCount": 1,
"goalCount": 10,
"developmentGoalCount": 5,
"monitoringGoalCount": 5,
"links": {
"app": "https://app.openlayer.com/myWorkspace/3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"description": "My project description.",
"gitRepo": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gitId": 123,
"dateConnected": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"name": "<string>",
"private": true,
"slug": "<string>",
"url": "<string>",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"gitAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"branch": "<string>",
"rootDir": "<string>"
}
},
"workspace": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Openlayer",
"slug": "openlayer",
"dateCreated": "2023-11-07T05:31:56Z",
"dateUpdated": "2023-11-07T05:31:56Z",
"creatorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectCount": 1,
"memberCount": 1,
"inviteCount": 1,
"periodStartDate": "2023-11-07T05:31:56Z",
"periodEndDate": "2023-11-07T05:31:56Z",
"status": "active",
"wildcardDomains": [
"<string>"
],
"monthlyUsage": [
{
"monthYear": "2023-12-25",
"predictionCount": 1,
"executionTimeMs": 1
}
],
"samlOnlyAccess": true
},
"dateLastPolled": "2023-11-07T05:31:56Z",
"totalRecordsCount": 1000,
"dataBackend": {
"backendType": "bigquery",
"bigqueryConnectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "my-project",
"datasetId": "my-dataset",
"tableId": "my-table",
"partitionType": "DAY"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key. See Find your API key for more information.
The project id.
The page to return in a paginated query.
x >= 1Maximum number of items to return per page.
1 <= x <= 100Filter list of items by name.
Status OK.
Show child attributes
The inference pipeline id.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
The project id.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
The inference pipeline name.
100"production"
The creation date.
"2024-03-22T11:31:01.185Z"
The last updated date.
"2024-03-22T11:31:01.185Z"
The last data sample received date.
"2024-03-22T11:31:01.185Z"
The inference pipeline description.
500"This pipeline is used for production."
The last test evaluation date.
"2024-03-22T11:31:01.185Z"
The next test evaluation date.
"2024-03-22T11:31:01.185Z"
The number of tests passing.
x >= 05
The number of tests failing.
x >= 01
The total number of tests.
x >= 06
The status of test evaluation for the inference pipeline.
queued, running, paused, failed, completed, unknown "completed"
The status message of test evaluation for the inference pipeline.
"Tests successfully evaluated"
The workspace id.
"055fddb1-261f-4654-8598-f6347ee46a09"
Show child attributes
The project id.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
The workspace id.
"055fddb1-261f-4654-8598-f6347ee46a09"
The project creator id.
"589ece63-49a2-41b4-98e1-10547761d4b0"
The project name.
64"My Project"
The project creation date.
"2024-03-22T11:31:01.185Z"
The project last updated date.
"2024-03-22T11:31:01.185Z"
The source of the project.
web, api, null The task type of the project.
llm-base, tabular-classification, tabular-regression, text-classification The number of versions (commits) in the project.
x >= 02
The number of inference pipelines in the project.
x >= 01
The total number of tests in the project.
x >= 010
The number of tests in the development mode of the project.
x >= 05
The number of tests in the monitoring mode of the project.
x >= 05
The project description.
280"My project description."
Show child attributes
Show child attributes
The workspace id.
The workspace name.
80"Openlayer"
The workspace slug.
32"openlayer"
The workspace creation date.
The workspace last updated date.
The workspace creator id.
The number of projects in the workspace.
x >= 0The number of members in the workspace.
x >= 0The number of invites in the workspace.
x >= 0The start date of the current billing period.
The end date of the current billing period.
active, past_due, unpaid, canceled, incomplete, incomplete_expired, trialing, paused Whether the workspace only allows SAML authentication.
The last time the data was polled.
The total number of records in the data backend.
x >= 01000
Show child attributes
bigquery 120"my-project"
120"my-dataset"
120"my-table"
DAY, MONTH, YEAR Was this page helpful?