GenAuth DocsDocuments
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Old version
Development Integration
  • API

  • SDK

    • Java

    • Node.js

    • Python

      • Installation and Usage
      • Authentication Module

      • Management Module

        • User Management

        • Organization Management

        • Role Management

        • User Group Management

        • Custom Field Management

        • Resource and Permission Management

        • 管理应用

        • 管理身份源

        • 管理安全配置

        • 管理消息服务

        • 管理 Pipeline

          • 创建 Pipeline 函数
          • 获取 Pipeline 函数详情
          • 重新上传 Pipeline 函数
          • 修改 Pipeline 函数
          • 修改 Pipeline 函数顺序
          • 删除 Pipeline 函数
          • 获取 Pipeline 函数列表
          • 获取 Pipeline 日志
        • 管理 Webhook

        • 获取审计日志

        • 管理计量计费

        • 事件
  • Error Codes
  1. Development Integration
  2. /
  3. SDK
  4. /
  5. Python
  6. /
  7. Management Module

  8. /
  9. 管理 Pipeline

  10. /
  11. 获取 Pipeline 函数详情

¶ Get Pipeline function details

Update time: 2025-07-23 07:34:21
Edit

This document is automatically generated based on https://github.com/authing/authing-docs-factory based on https://api-explorer.genauth.ai V3 API, and is consistent with API parameters and return results. If the description of this document is incorrect, please refer to V3 API.

Get Pipeline function details

¶ Method name

ManagementClient.get_pipeline_function

¶ Request parameters

NameType
Required
Default value
Description
Sample value
funcIdstringYes-Pipeline function ID62ce9135dxxxxb83e373f5d6

¶ Request response

Type: PipelineFunctionSingleRespDto

NameTypeDescription
statusCodenumberBusiness status code, which can be used to determine whether the operation is successful. 200 means success.
messagestringDescription
apiCodenumberSegmented error code, which can be used to get the specific error type (successful requests are not returned). For a detailed list of error codes, see: API Code List (opens new window)
requestIdstringRequest ID. Returned when the request fails.
dataPipelineFunctionDtoResponse data

Sample result:

{
  "statusCode": 200,
  "message": "Operation successful",
  "requestId": "934108e5-9fbf-4d24-8da1-c330328abd6c",
  "data": {
    "funcId": "62ce9135dxxxxb83e373f5d6",
    "funcName": "Registration/login is prohibited from 3-6 am every Sunday for system maintenance",
    "funcDescription": "Registration/login is prohibited from 3-6 am every Sunday for system maintenance.",
    "scene": "PRE_REGISTER",
    "createdAt": "2022-07-03T03:20:30.000Z",
    "updatedAt": "2022-07-03T03:20:30.000Z",
    "timeout": 3,
    "sourceCode": "async function pipe(user, context, callback) {\n const date = new Date();\n const d = date.getDay();\n const n = date.getHours();\n // Registration is prohibited from 3-6 am every Sunday\n if (d === 0 && (3 <= n && n <= 6)) {\n return callback(new Error('System maintenance, registration is temporarily suspended!'));\n }\n callback(null, user, context)\n}",
    "status": "success"
  }
}

¶ Data structure

¶ PipelineFunctionDto

NameType
Is it required?
Description
Sample value
funcIdstringYesFunction ID62ce9135dxxxxb83e373f5d6
funcNamestringYesFunction nameRegistration/login is prohibited from 3-6 a.m. every Sunday due to system maintenance
funcDescriptionstringNoFunction descriptionRegistration/login is prohibited from 3-6 a.m. every Sunday due to system maintenance.
scenestringyesFunction triggering scenario:
- PRE_REGISTER: before registration
- POST_REGISTER: after registration
- PRE_AUTHENTICATION: before authentication
- POST_AUTHENTICATION: after authentication
- PRE_OIDC_ID_TOKEN_ISSUED: before OIDC ID Token issuance
- PRE_OIDC_ACCESS_TOKEN_ISSUED: before OIDC Access Token issuance
- PRE_COMPLETE_USER_INFO: before completing user information
PRE_REGISTER
createdAtstringyesFunction creation time2022-07-03T03:20:30.000Z
updatedAtstringyesFunction modification time2022-07-03T03:20:30.000Z
isAsynchronousbooleanyesWhether to execute asynchronously. Functions set to asynchronous execution will not block the execution of the entire process, and are suitable for asynchronous notification scenarios, such as Feishu group notifications, DingTalk group notifications, etc.
timeoutnumberyesFunction execution timeout, the shortest is 1 second, the longest is 60 seconds, and the default is 3 seconds.3
terminateOnTimeoutbooleanyesIf the function runs out of time, whether to terminate the entire process, the default is no.
sourceCodestringyesfunction source code`async function pipe(user, context, callback) {

const date = new Date(); const d = date.getDay(); const n = date.getHours(); // Registration is prohibited from 3-6 am every Sunday if (d === 0 && (3 <= n && n <= 6)) { return callback(new Error('System maintenance, registration temporarily suspended!')); } callback(null, user, context) }| | status | string | yes | Function current status: <br>-uploading: Uploading<br>-success: Upload successful<br>-failed`: Upload failed
| uploading | | uploadErrMsg | string | no | Error message for upload failure | | | enabled | boolean | yes | Is this Pipeline enabled | |

Previous article: 创建 Pipeline 函数 Next article: 重新上传 Pipeline 函数
  • Method name
  • Request parameters
  • Request response
  • Data structure

User identity management

Integrated third-party login
Customized authentication process

Enterprise internal management

Single sign-on
Multi-factor authentication
Permission management

Developer

Development Documentation
GitHub (opens new window)

Company

official@genauth.ai
16th Floor, Building B, Beichen Century Center, Chaoyang District, Beijing (Total)
Room 406, 4th Floor, Block B, No. 200, Tianfu Fifth Street, High-tech Zone, Chengdu (Branch)

© Beijing Steamory Technology Co., Ltd.